Posts Tagged ‘activerecord’

The Road to Rails 3: make your Rails 2.3 project more Rails 3 oriented

July 26th, 2010 at 4:12 pm • permalink5 comments

The goal of this article is to feature a list of tips and changes you can already introduce in your Rails 2 application to anticipate the migration and make your code more compatible with Rails 3.

Understanding Ruby and Rails: extract_options! from Arrays

September 22nd, 2009 at 11:18 am • permalink3 comments

extract_options! extracts the options from the given set of arguments splitting the list of arguments from the options.

Testing Rails: How to test Rails ActiveRecord Named Scopes

June 17th, 2009 at 9:37 am • permalink6 comments

How to effectively test ActiveRecord named scopes in Rails without querying the database.

Validating the format of an URL with Rails

April 30th, 2009 at 6:34 am • permalink1 comment

A super simple Rails validator for URL based on Ruby URI library.

Follow Me
    Random Quote