Hi there everyone,
How does one set-up a SQL OR query in Rails.
I have the following SQL query:
select state, state_abbr, country from states where country = ‘Country’
or country = ‘International’ order by state asc;
Now in Rails:
@states = States.find(:all, :conditions => [:country => LOCALE, :country
But the above will do a SQL AND query. What is the right keyword to use
between those two conditions to turn this into a OR query?