aboutsummaryrefslogtreecommitdiffstats
path: root/railties/configs/initializers/new_rails_defaults.rb
blob: 0cc1993ed97dc49364548a84af3a10d1303970b4 (plain) (blame)
1
2
3
4
5
# These settins 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