search for: e21331bd

Displaying 1 result from an estimated 1 matches for "e21331bd".

2006 Aug 14
1
Overide the default find_all
Hi, In my model i want to overide the default find all for sorting purposes. Is this possible or can this only be done in the control or by adding a custom method in the model. def self.find_all() @contents = Content.find(:all, :order => ''pos, position_id'') end -- Posted via http://www.ruby-forum.com/.