Sha256: 02d83b45b516f46061e547e06677a49b3eb0e4a704e2360ada55d9e573f517bf

Contents?: true

Size: 426 Bytes

Versions: 13

Compression:

Stored size: 426 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           not null
#  display_name :text
#  note         :text
#  position     :integer
#  created_at   :datetime
#  updated_at   :datetime
#

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
enju_event-0.3.2 app/models/event_category.rb
enju_event-0.3.1 app/models/event_category.rb
enju_event-0.3.0 app/models/event_category.rb
enju_event-0.3.0.rc.1 app/models/event_category.rb
enju_event-0.3.0.beta.1 app/models/event_category.rb
enju_event-0.2.3 app/models/event_category.rb
enju_event-0.2.2 app/models/event_category.rb
enju_event-0.2.1 app/models/event_category.rb
enju_event-0.2.0 app/models/event_category.rb
enju_event-0.2.0.beta.4 app/models/event_category.rb
enju_event-0.2.0.beta.3 app/models/event_category.rb
enju_event-0.2.0.beta.2 app/models/event_category.rb
enju_event-0.2.0.beta.1 app/models/event_category.rb