Sha256: 26421e46a9072ac3e31b2eb767d2398d57e105a5df5ca4fceb9d746de2df99ae

Contents?: true

Size: 506 Bytes

Versions: 14

Compression:

Stored size: 506 Bytes

Contents

class EventCategory < ActiveRecord::Base
  attr_accessible :name, :display_name, :note
  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

14 entries across 14 versions & 1 rubygems

Version Path
enju_event-0.1.17.pre18 app/models/event_category.rb
enju_event-0.1.17.pre17 app/models/event_category.rb
enju_event-0.1.17.pre16 app/models/event_category.rb
enju_event-0.1.17.pre15 app/models/event_category.rb
enju_event-0.1.17.pre14 app/models/event_category.rb
enju_event-0.1.17.pre13 app/models/event_category.rb
enju_event-0.1.17.pre12 app/models/event_category.rb
enju_event-0.1.17.pre11 app/models/event_category.rb
enju_event-0.1.17.pre10 app/models/event_category.rb
enju_event-0.1.17.pre9 app/models/event_category.rb
enju_event-0.1.17.pre8 app/models/event_category.rb
enju_event-0.1.17.pre7 app/models/event_category.rb
enju_event-0.1.17.pre6 app/models/event_category.rb
enju_event-0.1.17.pre5 app/models/event_category.rb