Here are a few helpful tips that I have used when setting up has_many associations within the Active Admin. The Model To allow the nesting and the updating of has_many associations you must add the following to the model that they belong to : Add an attr_accessible for the nested attribute to allow for mass [...]
Here are a few helpful tips that I have used when setting up has_many associations within the Active Admin. The Model To allow the nesting and the updating of has_many associations you must add the following to the model that they belong to : Add an attr_accessible for the nested attribute to allow for mass [...]
I have been messing around with Sinatra for a little while when I’ve needed to create a simple website that does not need the heavy lifting of Rails. My main reasons for choosing Sinatra was to use the same templating languages included in Rails, i.e. erb, sass, haml, which are supported via the Tilt gem. [...]
As I am now trying to develop all my new apps using Ruby, my next project is to setup a multi site CMS with in place editing. Having spent some time looking at all the Ruby alternatives I have decided on Locomotive CMS . Although the documentation isn’t great it has some excellent features, i.e. [...]
Hi, thanks for visiting my blog. I am UK web developer based in the North East. I tend to mutter about the projects that I am working on and knowledge I have gained from the learning experiences that I go through.