Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…vertently corrupting data.
  • Loading branch information...
commit 888d5059bdb71e6d034d0c09d7e3b3e235fd8507 1 parent 1a73e98
@NZKoz NZKoz authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.