Sha256: 183c5e98f0eab4b69bb3fa759284af95b534fba802c628b700e2da200a757ad5
Contents?: true
Size: 303 Bytes
Versions: 1
Compression:
Stored size: 303 Bytes
Contents
class LogBook::Event < ::ActiveRecord::Base self.table_name = "log_book_events" attr_accessible :historian, :historizable, :text, :tag_list acts_as_taggable belongs_to :historian, :polymorphic => true belongs_to :historizable, :polymorphic => true validates :text, :presence => true end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
log_book-0.0.1 | lib/log_book/event.rb |