you can also do
Model.find_all_by_value(['a', 'b', 'c'])
ex:
authors = ['Hemingway', 'Dickinson', 'Shakespeare'] Books.find_all_by_author(authors)
where 'author' is a column in the 'books' table
you can also do
Model.find_all_by_value(['a', 'b', 'c'])
ex:
authors = ['Hemingway', 'Dickinson', 'Shakespeare'] Books.find_all_by_author(authors)
where 'author' is a column in the 'books' table