diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2013-07-01 23:13:03 +0530 |
---|---|---|
committer | Neeraj Singh <neerajdotname@gmail.com> | 2013-07-02 00:50:50 +0530 |
commit | 1f45d3c94d83def09c8f02bafea39de142694a57 (patch) | |
tree | 6eb5521fdb53dccc1c67f484319cafc212350fa1 /activerecord/lib/active_record/attribute_methods | |
parent | 42cf96fe9c2af46fdc772135bf282458ff241111 (diff) | |
download | rails-1f45d3c94d83def09c8f02bafea39de142694a57.tar.gz rails-1f45d3c94d83def09c8f02bafea39de142694a57.tar.bz2 rails-1f45d3c94d83def09c8f02bafea39de142694a57.zip |
Removed deprecated methods partial_updates and family
Removed deprecated methods `partial_updates`, `partial_updates?` and
`partial_updates=`
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods')
-rw-r--r-- | activerecord/lib/active_record/attribute_methods/dirty.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/activerecord/lib/active_record/attribute_methods/dirty.rb b/activerecord/lib/active_record/attribute_methods/dirty.rb index 6315dd9549..dc2399643c 100644 --- a/activerecord/lib/active_record/attribute_methods/dirty.rb +++ b/activerecord/lib/active_record/attribute_methods/dirty.rb @@ -14,17 +14,6 @@ module ActiveRecord class_attribute :partial_writes, instance_writer: false self.partial_writes = true - - def self.partial_updates=(v); self.partial_writes = v; end - def self.partial_updates?; partial_writes?; end - def self.partial_updates; partial_writes; end - - ActiveSupport::Deprecation.deprecate_methods( - singleton_class, - :partial_updates= => :partial_writes=, - :partial_updates? => :partial_writes?, - :partial_updates => :partial_writes - ) end # Attempts to +save+ the record and clears changed attributes if successful. |