This is tangential from the course, but I a have a problem with a time-
only field in MySQL returning as nil unless it is exactly
"00:00:00" (HH:MM:SS) as stored in a 'time' datatype.

I've played around with various date/time formatting actions in the
controller, view, and model but I get a variation of the the following
error:

 NoMethodError in AlbumsController#show
You have a nil object when you didn't expect it!
The error occurred while evaluating nil.strftime


I think it's occurring at the ActiveRecord::Base model level when
trying to retrieve the row data.

I'm using Netbeans 6.5, MySQL 5.0 and Windows XP

thanks for any insight

geoff

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ruby-on-rails-programming-with-passion" group.
To unsubscribe from this group, send email to
ruby-on-rails-programming-with-passion-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to