ActiveRecord Query For This Or That
> Book.where(status: 'unpublished').or(Book.where(publication_year: 2019))
=> #<ActiveRecord::Relation [...]>where (books.status = 'unpublished' or books.publication_year = 2019)Last updated
> Book.where(status: 'unpublished').or(Book.where(publication_year: 2019))
=> #<ActiveRecord::Relation [...]>where (books.status = 'unpublished' or books.publication_year = 2019)Last updated