diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-11-29 17:22:17 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-11-29 17:22:17 -0700 |
commit | 98fc25991137ee09b6800578117f8c1c322680f2 (patch) | |
tree | 038381ae4465d6ea9950ecda9ef10822fd3ff9c6 /lib/arel/nodes/table_alias.rb | |
parent | 7508284800f67b4611c767bff9eae7045674b66f (diff) | |
download | rails-98fc25991137ee09b6800578117f8c1c322680f2.tar.gz rails-98fc25991137ee09b6800578117f8c1c322680f2.tar.bz2 rails-98fc25991137ee09b6800578117f8c1c322680f2.zip |
Remove `engine` from `TreeManager` and subclasses
This constructor parameter was unused for everything except the
convenience methods `to_sql` and `where_sql`. We can pass the engine
into those methods directly.
Diffstat (limited to 'lib/arel/nodes/table_alias.rb')
-rw-r--r-- | lib/arel/nodes/table_alias.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/arel/nodes/table_alias.rb b/lib/arel/nodes/table_alias.rb index ebfcb58e64..b32f057117 100644 --- a/lib/arel/nodes/table_alias.rb +++ b/lib/arel/nodes/table_alias.rb @@ -12,10 +12,6 @@ module Arel def table_name relation.respond_to?(:name) ? relation.name : name end - - def engine - relation.engine - end end end end |