diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-08-12 19:30:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-12 19:30:09 -0400 |
commit | e3962308e7947f3d99c70c192e2d1356d3420e1e (patch) | |
tree | 09bb2eea11fe51c6b6a4cedf4148c05e7f8b5865 | |
parent | e6c310b3f8144e9e08bc20a16d9889974d890030 (diff) | |
parent | 9ff2860e1ca59c3dc3b6218c7037414c2fccb2c6 (diff) | |
download | rails-e3962308e7947f3d99c70c192e2d1356d3420e1e.tar.gz rails-e3962308e7947f3d99c70c192e2d1356d3420e1e.tar.bz2 rails-e3962308e7947f3d99c70c192e2d1356d3420e1e.zip |
Merge pull request #30209 from kamipo/remove_duplicated_table_name
Remove duplicated `table_name`
-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 d044f9dfe8..d2b85e168b 100644 --- a/activerecord/lib/active_record/reflection.rb +++ b/activerecord/lib/active_record/reflection.rb @@ -1073,10 +1073,6 @@ module ActiveRecord @reflection.scope end - def table_name - @reflection.table_name - end - def plural_name @reflection.plural_name end @@ -1112,10 +1108,6 @@ module ActiveRecord @association.klass end - def table_name - klass.table_name - end - def constraints @reflection.constraints end |