Use #where instead of #and for rails 5
In rails 4.x this passed around a set of arel conditions, in rails 5 it passes around an AR::Relation and uses where(). See rails/rails@5f521cbff3c8a46cfc8e16b234294a20c285d00d
Showing
Please
register
or
sign in
to comment