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
Arel::Visitors::UnsupportedVisitError: Unsupported argument type: NilClass. Construct an Arel node instead.
This happens when the tests in the first selecting are conditioned by an expression that happens to be false. I don't see how I can construct an Arel node in this case. Each of the two selecting works fine by itself. Similar expressions work fine with other constructs like where.has and joining, and select also works fine in squeel. So I'm hoping it's just a bug. Thanks.
The text was updated successfully, but these errors were encountered:
For any model I try, a query like:
or
fails with an error:
This happens when the tests in the first
selecting
are conditioned by an expression that happens to be false. I don't see how I can construct an Arel node in this case. Each of the twoselecting
works fine by itself. Similar expressions work fine with other constructs likewhere.has
andjoining
, andselect
also works fine in squeel. So I'm hoping it's just a bug. Thanks.The text was updated successfully, but these errors were encountered: