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
The merge presumes a hash of conditions but this raises error if the conditions are a relation.
The text was updated successfully, but these errors were encountered:
adzap
changed the title
STI normalizer fails when existing rule conditions are relation.
STI normalizer fails when existing rule conditions are relation
Jul 4, 2022
See
cancancan/lib/cancan/model_adapters/sti_normalizer.rb
Line 34 in 959eee1
The
merge
presumes a hash of conditions but this raises error if the conditions are a relation.The text was updated successfully, but these errors were encountered: