diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-05-22 19:28:52 +1200 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-05-23 09:00:46 +1200 |
commit | 888d5059bdb71e6d034d0c09d7e3b3e235fd8507 (patch) | |
tree | e98ab538899d34406d75610553c7100a5046641f | |
parent | 1a73e98660b29a2ce9eccd5b0776367a4969a012 (diff) | |
download | rails-888d5059bdb71e6d034d0c09d7e3b3e235fd8507.tar.gz rails-888d5059bdb71e6d034d0c09d7e3b3e235fd8507.tar.bz2 rails-888d5059bdb71e6d034d0c09d7e3b3e235fd8507.zip |
Return Partial Updates to be purely opt in to prevent users from inadvertently corrupting data.
-rw-r--r-- | railties/configs/initializers/new_rails_defaults.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/railties/configs/initializers/new_rails_defaults.rb b/railties/configs/initializers/new_rails_defaults.rb index 1a718608ae..b959c6d549 100644 --- a/railties/configs/initializers/new_rails_defaults.rb +++ b/railties/configs/initializers/new_rails_defaults.rb @@ -1,9 +1,6 @@ # These settings change the behavior of Rails 2 apps and will be defaults # for Rails 3. You can remove this initializer when Rails 3 is released. -# Only save the attributes that have changed since the record was loaded. -ActiveRecord::Base.partial_updates = true - # Include ActiveRecord class name as root for JSON serialized output. ActiveRecord::Base.include_root_in_json = true |