Sha256: 8e4e7655659bffb0d8e055848dc31cd9df46c723cc7f727cda0f5e21442bad00
Contents?: true
Size: 484 Bytes
Versions: 15
Compression:
Stored size: 484 Bytes
Contents
class EventCategory < ActiveRecord::Base attr_accessible :name, :display_name, :note include MasterModel default_scope :order => "position" has_many :events def self.per_page 10 end end # == Schema Information # # Table name: event_categories # # id :integer not null, primary key # name :string(255) not null # display_name :text # note :text # position :integer # created_at :datetime # updated_at :datetime #
Version data entries
15 entries across 15 versions & 1 rubygems