Sha256: e630f665915e7271aa3fa1f18aef7511c5399e0c1ef964c0dc166631924c4ce0

Contents?: true

Size: 211 Bytes

Versions: 4

Compression:

Stored size: 211 Bytes

Contents

class Artist < ActiveRecord::Base
  acts_as_gold_record
  belongs_to :label
  has_many :albums
  has_many :songs, :through => :albums
  has_and_belongs_to_many :fans
  has_and_belongs_to_many :record_stores
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gold-record-0.2.2 test/models/artist.rb
gold-record-0.2.1 test/models/artist.rb
gold-record-0.2.0 test/models/artist.rb
gold-record-0.1.0 test/models/artist.rb