Sha256: 4b2d30502257174506feecbdc3024e9c82a935e30c5dad025e3f94d3fb45cc6a
Contents?: true
Size: 353 Bytes
Versions: 71
Compression:
Stored size: 353 Bytes
Contents
module Sipity # Represents a "comment" placed by the given :agent in regards to the give :entity class Comment < ActiveRecord::Base self.table_name = 'sipity_comments' belongs_to :agent, class_name: 'Sipity::Agent' belongs_to :entity, class_name: 'Sipity::Entity' def name_of_commentor agent.proxy_for.to_s end end end
Version data entries
71 entries across 71 versions & 3 rubygems