I seem to be unable to use the ActiveRecord::Base.find option :order for more than one column at a time.
For example, I have a "Show" model with date and attending columns.
If I run the following code:
@shows = …
I am trying to do a like query like so
def self.search(search, page = 1 )
paginate :per_page => 5, :page => page,
:conditions => ["name LIKE '%?%' OR postal_code like '%?%'", search, search], order => 'name'
end
…