There is no such method in Rails.
I think the easiest way to do OR in a WHERE clause is to do something like this:
User.where("first_name = ? OR last_name = ?", params[:first_name], "Wilson")
If you want to learn about Arel methods (which has an βorβ method), look here: https://github.com/rails/arel#readme . Using Arel and ActiveRecord, you can do the same:
User.where(User.arel_table[:first_name].eq(params[:first_name]).or(User.arel_table[:last_name].eq('Wilson')))
source share