Sha256: e3718c6ed9e0db4d7f60702d2a2a4ed56150684118575a87d0287abd84fcde77
Contents?: true
Size: 436 Bytes
Versions: 3
Compression:
Stored size: 436 Bytes
Contents
module Refinery module RaceRegistrations class Category < Refinery::Core::BaseModel has_many :group_categories has_many :groups, :through => :group_categories has_many :people , :order => "surname ASC" default_scope order("position DESC") attr_accessible :title, :position acts_as_indexed :fields => [:title] validates :title, :presence => true, :uniqueness => true end end end
Version data entries
3 entries across 3 versions & 1 rubygems