I''m pretty sure this used to work pre-edge:
>> u = User.new
=> #<User id: nil, nickname: nil, created_at: nil, updated_at:
nil>>> l = u.listings.build
=> #<Listing id: nil, user_id: nil, title: nil, text: nil, created_at:
nil, updated_at: nil>>> l.user
=> nil>> u.listings
=> []
User/Listing have a very basic has_many/belongs_to relationship.
Am I imagining things, or did some of the recent changes to AR break
something?
Thanks,
Hendrik
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-core-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---