This project is archived and is in readonly mode.
accepts_nested_attributes_for :reject_if option not honored for has_one associations
-
Eloy Duran
This should be fixed in the patch attached to: http://rails.lighthouseapp.com/p...
-
pete_lacey
Just to let people know, the patch does resolve this issue. Thanks!
-
Eloy Duran
- State changed from new to resolved
- Assigned user set to Eloy Duran
-
Dave Myron
- Importance changed from to
Resurrecting an old one. This appears to have regressed somewhere after Feb 11th, 2009 when pete_lacey said the linked-to patch resolves the issue. I'm on Rails 3.0.3 and the :reject_if proc on an accepts_nested_attributes_for call for a has_one association is never run.
Can anyone confirm this?
-
Eloy Duran
@Dave, adding a failing test case against the ActiveRecord test suite will make it much easier for others to confirm and/or fix.