diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-05-27 15:07:03 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-05-27 15:07:03 +0900 |
commit | e53b025d283d92a32c128058c614c2207dce82e1 (patch) | |
tree | aacaa5d1329973f676149df7dcd81181ea5a5bbe /activerecord/lib | |
parent | c34eefbaf92cfdd8b8db6e513e1c4f489af4c3c0 (diff) | |
download | rails-e53b025d283d92a32c128058c614c2207dce82e1.tar.gz rails-e53b025d283d92a32c128058c614c2207dce82e1.tar.bz2 rails-e53b025d283d92a32c128058c614c2207dce82e1.zip |
Remove unused `association_for_table` private method
`association_for_table` is unused since 50a8cdf.
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/relation/query_methods.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb index 6477629560..2a831c2017 100644 --- a/activerecord/lib/active_record/relation/query_methods.rb +++ b/activerecord/lib/active_record/relation/query_methods.rb @@ -1008,12 +1008,6 @@ module ActiveRecord self.send(unscope_code, result) end - def association_for_table(table_name) - table_name = table_name.to_s - @klass._reflect_on_association(table_name) || - @klass._reflect_on_association(table_name.singularize) - end - def build_from opts = from_clause.value name = from_clause.name |