Sha256: 01cf6d51aec2f97a5474877e39e6ebaa66013186760294b8228cf6194c16c204
Contents?: true
Size: 550 Bytes
Versions: 72
Compression:
Stored size: 550 Bytes
Contents
# == Schema Information # # Table name: service_categories # # id :integer(4) not null, primary key # name :string(255) not null # sort :integer(4) default(0) # class ServiceCategory < ActiveRecord::Base named_scope :sorted, :order => "sort ASC" has_many :services, :order => 'sort ASC' has_many :identity_services, :class_name => 'Service', :order => 'sort ASC', :conditions => ['use_for = ?', 'identity'] has_many :tag_services, :class_name => 'Service', :order => 'sort ASC', :conditions => ['use_for = ?', 'tags'] end
Version data entries
72 entries across 72 versions & 2 rubygems