Updated to latest will_paginate
[gitorious:dgiuntas-clone.git] / vendor / plugins / will_paginate / test / fixtures / topic.rb
1 class Topic < ActiveRecord::Base
2   has_many :replies, :dependent => :destroy, :order => 'replies.created_at DESC'
3   belongs_to :project
4
5   named_scope :mentions_activerecord, :conditions => ['topics.title LIKE ?', '%ActiveRecord%']
6 end