Agile Development. more fun less stress.

Rails: undefined method ‘[]‘ for #<Enumerable::Enumerator>

Posted: September 29th, 2010 | Author: vid | Filed under: Development | Tags: , , | No Comments »

I was moving an older Rails app to a new server when I encountered this error. This gives a good description of what was going on and shows how to fix it:
http://groups.google.com/group/attachment_fu/browse_thread/thread/502dd4504a59c84d.
Ruby 1.8.7 and acts_as_attachment didn’t get along with each other in my case. However, there’s a typo where .first == ‘/’ is replaced.
starts_with(‘/’) should be starts_with?(‘/’).
That’s no rocket science but could be useful for noobs (on Rails).


Rails: Migrate databases in production environment

Posted: May 12th, 2009 | Author: vid | Filed under: Development | Tags: , | No Comments »

How to migrate databases in rails.
Read the rest of this entry »


Monit 5.0.1: 2 Errors during installation

Posted: May 6th, 2009 | Author: vid | Filed under: Development | Tags: , | No Comments »

I encountered following error while running ./configure for Monit 5.0.1:
Read the rest of this entry »


Ruby on Rails: Generate a version specific project

Posted: May 4th, 2009 | Author: vid | Filed under: Development | Tags: , | No Comments »

Short answer to a frequently asked question:
Read the rest of this entry »


Installing sqlite3 for Rails on Windows XP

Posted: April 29th, 2009 | Author: vid | Filed under: Development | Tags: , , , | 1 Comment »

Here is a short description how to install sqlite3 with RubyGems on Windows XP.

Read the rest of this entry »