Notes posted by lulalala
RSS feed
2 thanks
Month-first date string no longer parses correctly
The following date format won’t be parsed correctly:
'06/15/2008'.to_date
Use this instead:
Date.strptime("6/15/2012", '%m/%d/%Y')

0 thanks
won't refresh updated_at
This will not cause :updated_at column to refresh, while ActiveRecord::Base#increment! would.

0 thanks
Upgrading to 3.x
http://railscasts.com/episodes/202-active-record-queries-in-rails-3
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