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!

Note: there are NO null values in the time column - everything has a
value.

I'm using Netbeans 6.7 beta, using Ruby ver. 1.8.6 and AR ver. 2.1.0

thanks for any insight

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to