diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-08 04:57:14 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-08 04:57:14 +0900 |
commit | b3f702febfdc6425b89a6a3b3040d0ecc963f41f (patch) | |
tree | babf2ab3942aab8eab016756af6cd8c5790d1f29 /activerecord | |
parent | 323350ec4be7c79cac8af39b72a38d0457b7ff71 (diff) | |
download | rails-b3f702febfdc6425b89a6a3b3040d0ecc963f41f.tar.gz rails-b3f702febfdc6425b89a6a3b3040d0ecc963f41f.tar.bz2 rails-b3f702febfdc6425b89a6a3b3040d0ecc963f41f.zip |
Remove unused `primary_key_type` and `quoted_table_name` in `Reflection`
`primary_key_type` is no longer used since #26718.
`quoted_table_name` is no longer used since Rails 3.1.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/reflection.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/activerecord/lib/active_record/reflection.rb b/activerecord/lib/active_record/reflection.rb index 484cbc82f7..3ef4992d80 100644 --- a/activerecord/lib/active_record/reflection.rb +++ b/activerecord/lib/active_record/reflection.rb @@ -154,14 +154,6 @@ module ActiveRecord klass.new(attributes, &block) end - def quoted_table_name - klass.quoted_table_name - end - - def primary_key_type - klass.type_for_attribute(klass.primary_key) - end - # Returns the class name for the macro. # # <tt>composed_of :balance, class_name: 'Money'</tt> returns <tt>'Money'</tt> |