Notes posted by lulalala

RSS feed
June 15, 2012 - (<= v3.2.3)
1 thank

Month-first date string no longer parses correctly

The following date format won’t be parsed correctly:


Use this instead:

Date.strptime("6/15/2012", '%m/%d/%Y')
March 5, 2012
0 thanks

won't refresh updated_at

This will not cause :updated_at column to refresh, while ActiveRecord::Base#increment! would.

October 18, 2011
0 thanks

Upgrading to 3.x


Since this is deprecated, one can watch the Railcast for upgrading to 3.x

The equivalent is the ActiveRecord finder methods. http://apidock.com/rails/ActiveRecord/Fixture/find