HI.
Ive got a simple MySql Table with a number of Time fields in it.
Ive also created a simple class (based on ActiveRecord) that relates to that table.
in console, if I look at an object of my class (i.e. foo = Class.first) I get the date/Times displayed, but not the Time fields. These all display nil)
I can get round this by converting my Times to DateTime and then ignoring the Date component, but thats just wrong.
So can anyone help me with what may be going wrong here?
Thanks
K
Ive got a simple MySql Table with a number of Time fields in it.
Ive also created a simple class (based on ActiveRecord) that relates to that table.
in console, if I look at an object of my class (i.e. foo = Class.first) I get the date/Times displayed, but not the Time fields. These all display nil)
I can get round this by converting my Times to DateTime and then ignoring the Date component, but thats just wrong.
So can anyone help me with what may be going wrong here?
Thanks
K