aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2017-04-14 13:06:26 -0700
committerGitHub <noreply@github.com>2017-04-14 13:06:26 -0700
commite7f45d370ab10ad86a748ff2ec8b34c54d87b0bf (patch)
treeabde4f8ae9236998c617aa1ccfb31e72665a8960 /activerecord/lib
parente447c8c80a3f99a29286661eb47762535c249181 (diff)
parent83d6cc4815debe2086073387ecbf38c0f47cfec5 (diff)
downloadrails-e7f45d370ab10ad86a748ff2ec8b34c54d87b0bf.tar.gz
rails-e7f45d370ab10ad86a748ff2ec8b34c54d87b0bf.tar.bz2
rails-e7f45d370ab10ad86a748ff2ec8b34c54d87b0bf.zip
Merge pull request #28760 from rails/fix-attributes_name
Move around AR::Dirty and fix _attribute method
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/attribute_methods/dirty.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/attribute_methods/dirty.rb b/activerecord/lib/active_record/attribute_methods/dirty.rb
index 63978cfb3e..bd5003d63a 100644
--- a/activerecord/lib/active_record/attribute_methods/dirty.rb
+++ b/activerecord/lib/active_record/attribute_methods/dirty.rb
@@ -328,10 +328,6 @@ module ActiveRecord
def clear_changed_attributes_cache
remove_instance_variable(:@cached_changed_attributes) if defined?(@cached_changed_attributes)
end
-
- def _attributes(attr)
- _read_attribute(attr)
- end
end
end
end