Hello,
I am using accepts_nested_attributes_for for saving the records.
let say I have a model
class User < AR::Base
has_many :books
accepts_nested_attributes_for :books
end
class Book < AR::Base
belongs_to :user
end
Now the params value I am getting is
user={:id => 123, books_attribute
Just trying a simple example to try to get nested to work... but can't
get it! Been 2 days! Please help. VERY SIMPLE controller, view,
models... listed below.
--ERROR
MESSAGE--
ActiveRecord::AssociationTyp
2 matches
Mail list logo