aboutsummaryrefslogtreecommitdiffstats
path: root/railties/configs/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'railties/configs/initializers')
-rw-r--r--railties/configs/initializers/new_in_rails_3.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/configs/initializers/new_in_rails_3.rb b/railties/configs/initializers/new_in_rails_3.rb
new file mode 100644
index 0000000000..0cc1993ed9
--- /dev/null
+++ b/railties/configs/initializers/new_in_rails_3.rb
@@ -0,0 +1,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