Doesn't work with accepts_nested_attributes_for and setting ids.
johanneswuerbach opened this issue · 1 comments
johanneswuerbach commented
I found a bug with using accepts_nested_attributes_for
and setting the id of a related model. In this case AR doesn't call your find method and the id isn't deobfuscated.
Do you have any idea how to fix that in the gem?
namick commented
I don't have time to look at it at the moment. Dig in to it a bit and see if you can figure out a solution. The code is pretty simple.
I am happy to help if you still can't get it, especially if you pull request a failing test.