Sha256: b8f78ee84f5621e8e15b8d7bca5203a1a40e85c1b2ea741f21364f020de44c90

Contents?: true

Size: 158 Bytes

Versions: 10

Compression:

Stored size: 158 Bytes

Contents

class Book < ActiveRecord::Base
  has_many :chapters, :dependent => :destroy
  has_one :book_price, :dependent => :destroy

  validates_presence_of :name
end

Version data entries

10 entries across 5 versions & 1 rubygems

Version Path
data_active-0.0.7 test_apps/book_store_rails_32x/app/models/book.rb
data_active-0.0.7 test_apps/book_store_rails_31x/app/models/book.rb
data_active-0.0.6 test_apps/book_store_rails_31x/app/models/book.rb
data_active-0.0.6 test_apps/book_store_rails_32x/app/models/book.rb
data_active-0.0.5 test_apps/book_store_rails_32x/app/models/book.rb
data_active-0.0.5 test_apps/book_store_rails_31x/app/models/book.rb
data_active-0.0.4 test_apps/book_store_rails_32x/app/models/book.rb
data_active-0.0.4 test_apps/book_store_rails_31x/app/models/book.rb
data_active-0.0.3 test_apps/book_store_rails_31x/app/models/book.rb
data_active-0.0.3 test_apps/book_store_rails_32x/app/models/book.rb