diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-15 17:45:16 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-15 17:45:16 +0000 |
commit | 823554eafef9e8ee8fe2788f6231a3e665c2cbbf (patch) | |
tree | 6059c8e2c943a7fb45a56bf80cc5786934b70de1 /actionpack/MIT-LICENSE | |
parent | 62f0512e54d594c4bb6fcb8d16101fdeb87b89e8 (diff) | |
download | rails-823554eafef9e8ee8fe2788f6231a3e665c2cbbf.tar.gz rails-823554eafef9e8ee8fe2788f6231a3e665c2cbbf.tar.bz2 rails-823554eafef9e8ee8fe2788f6231a3e665c2cbbf.zip |
Added support for associating unsaved objects #402 [Tim Bates]
Added replace to associations, so you can do project.manager.replace(new_manager) or project.milestones.replace(new_milestones) #402 [Tim Bates]
Added build and create methods to has_one and belongs_to associations, so you can now do project.manager.build(attributes) #402 [Tim Bates]
Fixed that Base#== wouldn't work for multiple references to the same unsaved object #402 [Tim Bates]
Added that if a before_* callback returns false, all the later callbacks and the associated action are cancelled. If an after_* callback returns false, all the later callbacks are cancelled. Callbacks are generally run in the order they are defined, with the exception of callbacks defined as methods on the model, which are called last. #402 [Tim Bates]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@417 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/MIT-LICENSE')
0 files changed, 0 insertions, 0 deletions