Sha256: 64766549a891f8fb688eac0c032ebd4365f241de9d8537b487a0d80ecf11d1d0

Contents?: true

Size: 251 Bytes

Versions: 5

Compression:

Stored size: 251 Bytes

Contents

class Artist < ActiveRecord::Base

  has_many :songs

end


class Song < ActiveRecord::Base

  belongs_to :artist

  attr_accessor :sub_genre

end

module Recording
  class Vinyl < ActiveRecord::Base
    self.table_name = 'vinyl_recordings'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
assignable_values-0.13.2 spec/support/models.rb
assignable_values-0.13.1 spec/support/models.rb
assignable_values-0.13.0 spec/support/models.rb
assignable_values-0.12.1 spec/support/models.rb
assignable_values-0.12.0 spec/support/models.rb