mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-07 21:22:37 +01:00
5 lines
140 B
Ruby
5 lines
140 B
Ruby
|
|
class Topic < ActiveRecord::Base
|
||
|
|
has_many :replies, :dependent => :destroy, :order => 'replies.created_at DESC'
|
||
|
|
belongs_to :project
|
||
|
|
end
|