diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-07 11:44:32 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-07 11:44:32 -0800 |
commit | 89194f5976d09a62f967e550daeda41ac0b9de48 (patch) | |
tree | 3d479e589e98e4dc6eabdce2ddccca97821441dc /lib/arel/nodes/string_join.rb | |
parent | b9d2cd97888f76cf7c15fd1a7167c638950071c1 (diff) | |
download | rails-89194f5976d09a62f967e550daeda41ac0b9de48.tar.gz rails-89194f5976d09a62f967e550daeda41ac0b9de48.tar.bz2 rails-89194f5976d09a62f967e550daeda41ac0b9de48.zip |
adding a join factory method on the select manager
Diffstat (limited to 'lib/arel/nodes/string_join.rb')
-rw-r--r-- | lib/arel/nodes/string_join.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arel/nodes/string_join.rb b/lib/arel/nodes/string_join.rb index ea7912f92b..b24e91b6b8 100644 --- a/lib/arel/nodes/string_join.rb +++ b/lib/arel/nodes/string_join.rb @@ -3,8 +3,8 @@ module Arel class StringJoin < Arel::Nodes::Join undef :constraint - def initialize left, right - super(left, right, nil) + def initialize left, right, on = nil + super end end end |