Sha256: 5a33dd1bf6f994b9736396c3a2726ba2889dabf8937ba10be89d04af0a3b3968

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 Bytes

Contents

class SongOccurence < ActiveRecord::Base
  include Extensions::UUID

  belongs_to :show, :foreign_key => :show_uuid, :primary_key => :uuid
  belongs_to :song_ref, :foreign_key => :song_ref_uuid, :primary_key => :uuid, :counter_cache => true
  accepts_nested_attributes_for :show

  attr_accessible :position, :uuid, :show
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gdshowsdb-0.9.1 lib/gdshowsdb/models/song_occurence.rb
gdshowsdb-0.9.0 lib/gdshowsdb/models/song_occurence.rb