Topic: how to order acts_as_taggable results
I'm creating an event website with tags using the acts_as_taggable plugin. I've linked up each tag with a method that displays all events with that tag.
@events = Event.find_tagged_with(params[:id])
render :action => 'index'
but I can't figure out how to get the resultant events listed in order by date. I thought I could just add
:order => 'date'
onto the @events line, but RoR doesn't seem to like that. any advice?