Displaying 1 result from an estimated 1 matches for "old_courses".
Did you mean:
all_courses
2008 Aug 25
2
maths not working (can't get this)
...rses
# find(:all)
# find(:all, :conditions => ["active = ?", true], :order =>
''created_at DESC'', :limit => 5)
find(:all, :conditions => {:archive => false}, :order =>
''display_order ASC'', :limit => 100)
end
def self.old_courses
# find(:all)
# find(:all, :conditions => ["active = ?", true], :order =>
''created_at DESC'', :limit => 5)
find(:all, :conditions => {:archive => true}, :order => ''created_at
DESC'', :limit => 100)
end
def discounted_p...