Okay, here's my question. I have data in a MySQL table and I want to
display the data in the alphabetical order of each row's title. Right
now it displays it in the order it's added. Is there a simple method I
can add to make it switch to alphabetical order, similar to how the
.reverse method? I'm really new, so this might not make sense...
In your controller, change the line that looks like this:
@recipes = Recipe.find(:all, .....)
to include as an argument:
:order => 'title'
That should do it.