On May 4, 6:35 pm, Fearless Fool <[email protected]> wrote: > > I had the same thought, but while WeatherObservation has a > start_time_id, but it doesn't have a start_time slot. Is AR being > clever about foreign key references? Here's the schema: >
is there a belongs_to :start_time ? If so then it's the accessor for that association that's being called, not the attribute reader (and it's nil because the object at hand has no start_time_id 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.

