Fix query error on Rails 6.1
Rails 6.1 does not allow arbitrary strings in ActiveRecord methods so we need to wrap this in `Arel.sql`
Showing
Please register or sign in to comment
Rails 6.1 does not allow arbitrary strings in ActiveRecord methods so we need to wrap this in `Arel.sql`