-
Archives
- November 2019
- February 2018
- April 2017
- October 2015
- July 2015
- May 2015
- January 2015
- August 2014
- November 2013
- September 2013
- August 2013
- July 2013
- June 2013
- March 2013
- February 2013
- November 2012
- October 2012
- August 2012
- July 2012
- November 2011
- September 2011
- August 2011
- May 2011
- January 2011
- October 2010
- May 2010
- April 2010
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
-
Meta
Monthly Archives: August 2012
TreeDecorator
On a couple of my projects, I’ve wanted a dynamic tree representation of a group of objects. acts_as_nested_set and it variants (such as awesome_nested_set) work well for creating the back-end structure. There are plenty of JavaScript libraries that will help … Continue reading
Posted in Ruby
Comments Off on TreeDecorator
Rails database user
Another project, another database connection via root user with no password. This is so sloppy. It is so easy to create a project specific user in any database. If this was done more often, I wouldn’t be for ever changing … Continue reading
Posted in Ruby
Comments Off on Rails database user
Comments in Gemfile
I wish people would take a little time to consider the best way to arrange and comment the gem insertions in Gemfile. I am not a great fan of commenting. I believe you should code so that it is easily … Continue reading
Posted in Ruby
Comments Off on Comments in Gemfile