Should I write a method to do that? Or I can set something in the
bulletin
model?
Thanks!
It depends on what version of Rails you’re running. 2.3 has it built
in. Prior to that there is a plugin. Go to agilewebdevelopment.com/
plugins and search for “default order”. Or read the release notes for
2.3.
On Tue, Mar 10, 2009 at 11:32 AM, Philip H. [email protected]
wrote:
Bulletin.all #=> Same as: Bulletin.find(:all, {:order => "publish_at
in. Prior to that there is a plugin. Go to agilewebdevelopment.com/
plugins and search for “default order”. Or read the release notes for
2.3.