You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working with trying to make a union of two queries with ActiveRecord and Arel. I have been able to produce a Gist that proves the sqlite3 driver creates the correct query, while the mysql2 raises an error.
I'm working with trying to make a union of two queries with ActiveRecord and Arel. I have been able to produce a Gist that proves the sqlite3 driver creates the correct query, while the mysql2 raises an error.
https://gist.github.com/maletor/af1aae5086ba10ed7cad
The failing line is https://github.com/rails/rails/blob/v4.0.8/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb#L14 where there is an undefined method
reverse
fornil
.I have also tested this against Rails 4.1.5 and Arel 5.0.
The text was updated successfully, but these errors were encountered: