Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- puts build_date
- # Sun Dec 19 10:35:26 -0600 2010
- puts build_date.class
- # Time
- # This works
- feed.update_attributes!(:name => name, :last_build_date => build_date.to_s)
- # This fails with wrong number of arguments (1 for 0)
- feed.update_attributes!(:name => name, :last_build_date => build_date)
Add Comment
Please, Sign In to add comment