On May 4, 4:50 pm, Fearless Fool <[email protected]> wrote: > This is curious. Consider 'record' below, derived from an SQL query. > Notice that record.station_id returns the station id properly, but > record.start_time returns nil. What's the difference? (FWIW, I *can* > access the start_time via the construct record[:start_time]). > > This took me a while to track down, so I need to know: what's the > difference between the two fields? And - more importantly - what part of > the documentation explains what's going on? >
what columns does weather_observations have ? From glancing at the relevant bit of the internals i think an odd thing might happen if weather_observations itself had a start_time column of its own that was of a different type to the data grabbed here Fred -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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-talk?hl=en.

