Sha256: eef27b65c7a9cdb4b4fc3ca277d5307d949b67b6904c166bdb63bf9eab001e85
Contents?: true
Size: 322 Bytes
Versions: 4
Compression:
Stored size: 322 Bytes
Contents
class Label < ActiveRecord::Base belongs_to :facet has_many :labelings, :dependent => :destroy has_many :classifications, :through => :labelings validates_presence_of :caption scope :in, lambda {|ids| {:conditions => ['labels.id IN (?)', ids], :include => :facet, :order => "facet_id"} } end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
fassets_core-0.4.0 | app/models/label.rb |
fassets_core-0.3.1 | app/models/label.rb |
fassets_core-0.3.0 | app/models/label.rb |
fassets_core-0.2.0 | app/models/label.rb |