search for: utljgsy

Displaying 1 result from an estimated 1 matches for "utljgsy".

2007 Sep 06
3
no build! on association?
Hi guys, it seems like I missed some trivial stuff going on in edge rails. Can you point me in the right direction about what happened to the build! method? Simple scenario: class User << AR has_many :posts end class Post belongs_to :user end console: >> u = User.find(1) >> u.posts [] >> u.posts.create!({:title => "Foo", :content =>