diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-07 14:00:19 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-07 14:00:19 -0700 |
commit | 719eacfc81a94bde89a187356abfa090544bba80 (patch) | |
tree | bff950ebb996356b39c521d20f3c59203d7ac661 /lib/arel/nodes | |
parent | 4ef7ee8f35fdefd6eeef102f46497295a7b5d858 (diff) | |
download | rails-719eacfc81a94bde89a187356abfa090544bba80.tar.gz rails-719eacfc81a94bde89a187356abfa090544bba80.tar.bz2 rails-719eacfc81a94bde89a187356abfa090544bba80.zip |
adding backwards compat nodes
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r-- | lib/arel/nodes/inner_join.rb | 3 | ||||
-rw-r--r-- | lib/arel/nodes/outer_join.rb | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/arel/nodes/inner_join.rb b/lib/arel/nodes/inner_join.rb index bf10eeac18..9fd2615f39 100644 --- a/lib/arel/nodes/inner_join.rb +++ b/lib/arel/nodes/inner_join.rb @@ -3,4 +3,7 @@ module Arel class InnerJoin < Arel::Nodes::Join end end + + # FIXME: backwards compat + InnerJoin = Nodes::InnerJoin end diff --git a/lib/arel/nodes/outer_join.rb b/lib/arel/nodes/outer_join.rb index bea5578b95..71da6e70d5 100644 --- a/lib/arel/nodes/outer_join.rb +++ b/lib/arel/nodes/outer_join.rb @@ -3,4 +3,7 @@ module Arel class OuterJoin < Arel::Nodes::Join end end + + # FIXME: backwards compat + OuterJoin = Nodes::OuterJoin end |