rails/arel — pull request #90 by JoelJuliano (2011-10-31 00:15:32+00:00)
Title: Allow using non-table alias as a rhs relation name, fix for #84 and #59

We have a similar situation as reported in issue #84 (https://github.com/rails/arel/issues/84)
where in our arel statement we have a nested join using a non-table alias and it's throwing an exception
"undefined method `name' for #"