Sha256: d228df9ada95e25ef0dc772f40be0591c98ab3d49bc3fa49d386189e209fb7ab

Contents?: true

Size: 279 Bytes

Versions: 3

Compression:

Stored size: 279 Bytes

Contents

module Reservation
  class Reservation < ActiveRecord::Base
    belongs_to :event, :class_name => "Reservation::Event"
    belongs_to :subject, :polymorphic => true
    attr_accessible :reservation_status, :role, :subject_id, :subject_type, :event_id, :event, :subject
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reservation-0.0.4 lib/reservation/reservation.rb
reservation-0.0.3 lib/reservation/reservation.rb
reservation-0.0.2 lib/reservation/reservation.rb