Sha256: 80edb3cea675b7c0ef06251519f5ce21fe3bf8d0c1e48a2823108d057875a8c3
Contents?: true
Size: 283 Bytes
Versions: 21
Compression:
Stored size: 283 Bytes
Contents
class Topic < ActiveRecord::Base validates_presence_of :author_name has_many :books belongs_to :parent, :class_name => "Topic" composed_of :description, :mapping => [ %w(title title), %w(author_name author_name)], :allow_nil => true, :class_name => "TopicDescription" end
Version data entries
21 entries across 21 versions & 3 rubygems