Sha256: a6437d2d05d59e6c1e82542af150301ba2cf8218787c5edffbc81ebde6ba2108
Contents?: true
Size: 438 Bytes
Versions: 66
Compression:
Stored size: 438 Bytes
Contents
class EventCategory < ActiveRecord::Base 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
66 entries across 66 versions & 2 rubygems