view lib/plugins/classic_pagination/test/fixtures/reply.rb @ 1390:ac480b6a13cf luisf

Removed javascript code from partials, so that it is included only once in the page.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 25 Sep 2013 17:44:05 +0100
parents 433d4f72a19b
children
line wrap: on
line source
class Reply < ActiveRecord::Base
  belongs_to :topic, :include => [:replies]
  
  validates_presence_of :content
end