Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add support for nested object forms to ActiveRecord and the helpers i…
…n ActionPack Signed-Off-By: Michael Koziarski <michael@koziarski.com> [#1202 state:committed]
- Loading branch information
Showing
21 changed files
with
1,687 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
ec8f045
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great Feature! Thanks Guys.
I hope I’m not making a fool of myself here :)
It seems that adding the foreign key presence validation to the child instance creates a circular dependency (the child validation is done before the parent id is propagated to the child).
Is it just late or does it need a work-around?
ec8f045
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tamersalama: No you’re not making a fool out of yourself :)
Please file a ticket on lighthouse: http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets
ec8f045
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A ticket has been created:
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1943