{"issue":{"state":"open","pull_request":{"diff_url":"https://github.com/rails/arel/pull/90.diff","html_url":"https://github.com/rails/arel/pull/90","patch_url":"https://github.com/rails/arel/pull/90.patch"},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/7091a1893aa214dc8bf428812094d7f4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"7091a1893aa214dc8bf428812094d7f4","url":"https://api.github.com/users/JoelJuliano","login":"JoelJuliano","id":767780},"updated_at":"2011-10-31T06:07:07Z","labels":[],"assignee":null,"closed_at":null,"comments":2,"url":"https://api.github.com/repos/rails/arel/issues/90","body":"We have a similar situation as reported in issue #84 (https://github.com/rails/arel/issues/84)\r\nwhere in our arel statement we have a nested join using a non-table alias and it's throwing an exception\r\n\"undefined method `name' for #<Arel::Nodes::Grouping:0x00000123456789>\"","html_url":"https://github.com/rails/arel/issues/90","title":"Allow using non-table alias as a rhs relation name, fix for #84 and #59","number":90,"id":2092976,"created_at":"2011-10-31T00:15:32Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/7091a1893aa214dc8bf428812094d7f4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"7091a1893aa214dc8bf428812094d7f4","url":"https://api.github.com/users/JoelJuliano","login":"JoelJuliano","id":767780},"updated_at":"2011-10-31T06:07:07Z","url":"https://api.github.com/repos/rails/arel/issues/comments/2573861","body":"I've added the failing test","id":2573861,"created_at":"2011-10-31T06:07:07Z"}}