Sha256: f7d473d7b96c162978a0bbdfa499e51127301eca2feb16334730675e43f1edaf
Contents?: true
Size: 461 Bytes
Versions: 7
Compression:
Stored size: 461 Bytes
Contents
class EventCategory < ActiveRecord::Base include MasterModel default_scope { order('position') } has_many :events paginates_per 10 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 not null # updated_at :datetime not null #
Version data entries
7 entries across 7 versions & 1 rubygems