This project is archived and is in readonly mode.
add has_many test for #5579 case
-
Neeraj Singh
- Assigned user set to José Valim
- Tag set to patched
-
Repository
- State changed from new to resolved
(from [4966b915fe96db73933d33176c1ea5cc53e58a22]) Fix for #5579 Rails3 - accepts_nested_attributes_for reject_if option does not work. involved the code change for both has_one and has_many relationships. The path included test only for has_one. This patch adds test for has_many relationship.
[#5706 add has_many test for #5579 case state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/4966b915fe96db73933d33176c1ea5... -
José Valim
- State changed from resolved to open
- Milestone cleared.
Neeraj, could you please provide a patch for 3-0-stable? Thanks! :D
-
José Valim
If possible, for both this and #5705 nested_attributes with has_many association doest not work when a single reco.... Thanks!
-
Neeraj Singh
backport of 5579 and 5706 is attached.
-
Repository
- State changed from open to resolved
(from [2525bfc5dd255a865ae3fae77b5daff833396758]) backport of #5706 add has_many test for #5579 case and #5579 Rails3 - accepts_nested_attributes_for reject_if option does not work. to 3-0-stable
[#5706 add has_many test for #5579 case state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/2525bfc5dd255a865ae3fae77b5daf...
