It's really nice to be able to write code without type a single line of SQL 
(well as much as possible) and let the framework taking care of it.
I like to do `User.where(active: true, deleted_at: nil, country_id: 
Country.luxembourg)`.

But in the case I would like to find using a LIKE or ILIKE, it is not 
possible to write `User.where(active: true).ilike(email: email)`.

Is there any reason why this has not been done ? And could it be done ?

Thank you :)

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to