aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--railties/environments/environment.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/environments/environment.rb b/railties/environments/environment.rb
index c33b80da4f..d03447e1d3 100644
--- a/railties/environments/environment.rb
+++ b/railties/environments/environment.rb
@@ -64,4 +64,7 @@ Rails::Initializer.run do |config|
# Activate observers that should always be running
# config.active_record.observers = :cacher, :garbage_collector
+
+ # Make ActiveRecord only save the attributes that have changed since the record was loaded.
+ # config.active_record.partial_updates = true
end \ No newline at end of file