Return Partial Updates to be purely opt in to prevent users from inadvertently corrupting data.

This commit is contained in:
Michael Koziarski 2008-05-22 19:28:52 +12:00
parent 1a73e98660
commit 888d5059bd
1 changed files with 0 additions and 3 deletions

View File

@ -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