Hi, I have 2 active records with has_one/belongs_to association between them.
class Story < ActiveRecord::Base belongs_to :conclusion end class Conclusion < ActiveRecord::Base has_one :story end Sometimes I fetch a conclusion with story in eager loading, sometimes I don't fetch the associated story. I want to know when the associated story is fetched or not conclusion.story.loaded? doesn't work. Another question : how to completely disable lazy loading ? In order to be able ton simply do : conclusion.story == nil. Thanks for your answers. -- 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.

