Sha256: bb4b4c8d1990ef83febce54db969a2ee74fe115b877f8ec47b55b9600a2e212b
Contents?: true
Size: 261 Bytes
Versions: 7
Compression:
Stored size: 261 Bytes
Contents
module TaskManager class Assignable < ActiveRecord::Base belongs_to :target, polymorphic: true belongs_to :assignee, polymorphic: true validates_presence_of :assignee_id, :assignee_type attr_accessible :assignee_id, :assignee_type end end
Version data entries
7 entries across 7 versions & 1 rubygems