Sha256: e15bef87fd7884454b1f1dc57c490f74094c4a64b7788d8ae210aa5316bde1d5
Contents?: true
Size: 633 Bytes
Versions: 1
Compression:
Stored size: 633 Bytes
Contents
class EventCategory < ApplicationRecord include MasterModel default_scope { order('position') } has_many :events paginates_per 10 translates :display_name end # == Schema Information # # Table name: event_categories # # id :bigint not null, primary key # name :string not null # display_name :text # note :text # position :integer # created_at :datetime not null # updated_at :datetime not null # display_name_translations :jsonb not null #
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_event-0.4.0.rc.1 | app/models/event_category.rb |