Sha256: bfd5d4823f7efaa8078f526cabc92533de7e4c861209482dd9ddb26a0429e791
Contents?: true
Size: 219 Bytes
Versions: 8
Compression:
Stored size: 219 Bytes
Contents
module ForumReader def self.included(base) base.class_eval { has_many :topics, :dependent => :nullify has_many :posts, :order => 'posts.created_at desc', :dependent => :nullify } end end
Version data entries
8 entries across 8 versions & 1 rubygems