tracks/vendor/plugins/will_paginate/test/fixtures/topic.rb
2008-05-20 21:28:26 +01:00

4 lines
140 B
Ruby

class Topic < ActiveRecord::Base
has_many :replies, :dependent => :destroy, :order => 'replies.created_at DESC'
belongs_to :project
end