Sha256: 45ffcc425c83e9da184133be7d0baf99f6cd0702ad436d306f27a4b2aaab380d
Contents?: true
Size: 599 Bytes
Versions: 2
Compression:
Stored size: 599 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 :integer not null, primary key # name :string not null # display_name :text # note :text # position :integer # created_at :datetime # updated_at :datetime # display_name_translations :jsonb not null #
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
enju_event-0.4.0.beta.2 | app/models/event_category.rb |
enju_event-0.4.0.beta.1 | app/models/event_category.rb |