Skip to content
Browse files

Return Partial Updates to be purely opt in to prevent users from inad…

…vertently corrupting data.
  • Loading branch information...
1 parent 1a73e98 commit 888d5059bdb71e6d034d0c09d7e3b3e235fd8507 @NZKoz NZKoz committed
Showing with 0 additions and 3 deletions.
  1. +0 −3 railties/configs/initializers/new_rails_defaults.rb
View
3 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

0 comments on commit 888d505

Please sign in to comment.
Something went wrong with that request. Please try again.