Sha256: bfa694d3ea0cd8c1ad661a86dd2a18756cc235ca55b206a11d4fba6f3b6f4cc1

Contents?: true

Size: 151 Bytes

Versions: 15

Compression:

Stored size: 151 Bytes

Contents

class Album < ActiveRecord::Base
  has_many :songs
  validates_presence_of :year
  
  accepts_nested_attributes_for :songs, :allow_destroy => true
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
roar-0.11.4 test/dummy/app/models/album.rb
roar-0.11.3 test/dummy/app/models/album.rb
roar-0.11.2 test/dummy/app/models/album.rb
roar-0.11.1 test/dummy/app/models/album.rb
roar-0.11.0 test/dummy/app/models/album.rb
roar-0.10.2 test/dummy/app/models/album.rb
roar-0.10.1 test/dummy/app/models/album.rb
roar-0.10.0 test/dummy/app/models/album.rb
roar-0.9.2 test/dummy/app/models/album.rb
roar-0.9.1 test/dummy/app/models/album.rb
roar-0.9.0 test/dummy/app/models/album.rb
roar-0.8.3 test/dummy/app/models/album.rb
roar-0.8.2 test/dummy/app/models/album.rb
roar-0.8.1 test/dummy/app/models/album.rb
roar-0.8.0 test/dummy/app/models/album.rb