1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/active_record
David Heinemeier Hansson 823554eafe 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
2005-01-15 17:45:16 +00:00
..
acts Added a bit more documentation on how to use the instance methods for acts_as_list #478 2005-01-15 13:49:23 +00:00
associations Added support for associating unsaved objects #402 [Tim Bates] 2005-01-15 17:45:16 +00:00
connection_adapters Fixed binary support for PostgreSQL #444 [alex@byzantine.no] 2005-01-15 13:48:39 +00:00
vendor Fixed the 4.11 changes to the mysql adapter 2005-01-11 10:59:49 +00:00
wrappers Initial 2004-11-24 01:04:44 +00:00
aggregations.rb Initial 2004-11-24 01:04:44 +00:00
associations.rb Added support for associating unsaved objects #402 [Tim Bates] 2005-01-15 17:45:16 +00:00
base.rb Added support for associating unsaved objects #402 [Tim Bates] 2005-01-15 17:45:16 +00:00
callbacks.rb Added support for associating unsaved objects #402 [Tim Bates] 2005-01-15 17:45:16 +00:00
deprecated_associations.rb Added support for associating unsaved objects #402 [Tim Bates] 2005-01-15 17:45:16 +00:00
fixtures.rb Added a db2 adapter that only depends on the Ruby/DB2 bindings (http://raa.ruby-lang.org/project/ruby-db2/) #386 [Maik Schmidt]. Converted all the fixtures to YAML style ones. 2005-01-01 19:22:16 +00:00
locking.rb Added automated optimistic locking if the field lock_version is present #384 [Michael Koziarski] 2004-12-31 19:38:04 +00:00
observer.rb Added that Observers can use the observes class method instead of overwriting self.observed_class() 2005-01-10 16:06:04 +00:00
reflection.rb Initial 2004-11-24 01:04:44 +00:00
timestamp.rb Fixed the automated timestamping feature when running under Rails' development environment that resets the inheritable attributes on each request. 2004-12-18 15:15:27 +00:00
transactions.rb Restored thread safety to Active Record [andreas] 2004-12-30 14:51:04 +00:00
validations.rb Fixed Base#update_attribute to be indifferent to whether a string or symbol is used to describe the name 2005-01-06 02:36:33 +00:00
wrappings.rb Initial 2004-11-24 01:04:44 +00:00