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
{{ message }}
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.
ActiveRecord::StatementInvalid PGError: ERROR: column observations.#<MetaWhere::Column:0x0000010347dcf0> does not exist
The full SQL query it's attempting is:
SELECT"observations".*FROM"observations"WHERE (("observations"."district_id"=1) OR (("observations"."#<MetaWhere::Column:0x0000010347dcf0>"IN (4, 1)) OR (("observations"."teacher_id"=12) OR ("observations"."observer_id"=12))))
I'm using MetaWhere through CanCan, so I'm not sure where the issue is located, but the line of ruby producing the issue is in the Ability class for CanCan:
I'm getting the following error:
ActiveRecord::StatementInvalid PGError: ERROR: column observations.#<MetaWhere::Column:0x0000010347dcf0> does not exist
The full SQL query it's attempting is:
I'm using MetaWhere through CanCan, so I'm not sure where the issue is located, but the line of ruby producing the issue is in the Ability class for CanCan:
If I comment that out, no error.
I'm happy to take the issue over to CanCan if needed, but figured I'd start here. Any insights into further diagnosis would be awesome.
The text was updated successfully, but these errors were encountered: