Return Partial Updates to be purely opt in to prevent users from inadvertently corrupting data.
This commit is contained in:
parent
1a73e98660
commit
888d5059bd
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue