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
As per ActiveRecord, exists?(conditions) should accept not only PIDs, but hash conditions. Would presumably be equivalent to something like where(conditions).first != nil.
The text was updated successfully, but these errors were encountered:
As per ActiveRecord,
exists?(conditions)
should accept not only PIDs, but hash conditions. Would presumably be equivalent to something likewhere(conditions).first != nil
.The text was updated successfully, but these errors were encountered: