I want to find entries based on more than parameters. But these parameters have mupltiple parameters.
As "SELECT something FROM mytable WHERE user_name="xyz" and status=("Active" OR "Deleted")
How to translate this to rails instruction?
Person.find_by_user_name_and_status(user_name, status)
Kapish m
source share