softace / activerecord-tableless

Bringing together the different tableless model implementations into a single gem/plugin
Other
113 stars 41 forks source link

accepts_nested_attributes_for doesn't seem to work #2

Closed whitby3001 closed 11 years ago

whitby3001 commented 11 years ago

Hi,

I am running Rails 3.2.9 (the 3-2-stable branch on github) and have the gem working nicely on 2 of my models, Transmission and Recipient. I have Transmission set up with

accepts_nested_attributes_for :recipients

but when I try to save a Transmission with some nested attributes then it causes an error where it is trying to query the db for details on the recipients table.

Should accepts_nested_attributes work as normal or is it not supported with this gem?

Thanks for any help.

David

jarl-dk commented 11 years ago

What does the error say?

jarl-dk commented 11 years ago

There are some running examples of this in the spec directory.