Sha256: 28f3a0196c7022ec889b5da536a93aa28dfa349faf63432077796d3e8b7a39a8

Contents?: true

Size: 184 Bytes

Versions: 220

Compression:

Stored size: 184 Bytes

Contents

module Pets
  class Cat < ActiveRecord::Base
    belongs_to :owner, :class_name => 'User'
    belongs_to :address, :dependent => :destroy
    validates_presence_of :owner_id
  end
end

Version data entries

220 entries across 99 versions & 18 rubygems

Version Path
challah-0.6.0 vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/pets/cat.rb
challah-0.5.4 vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/pets/cat.rb
challah-0.5.4 vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/models/pets/cat.rb
challah-0.5.3 vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/pets/cat.rb
challah-0.5.3 vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/models/pets/cat.rb
challah-0.5.2 vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/pets/cat.rb
challah-0.5.2 vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/models/pets/cat.rb
dirty_history-0.5.3 dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/models/pets/cat.rb
dirty_history-0.5.3 dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/models/pets/cat.rb
dirty_history-0.5.2 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/models/pets/cat.rb
dirty_history-0.5.2 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/models/pets/cat.rb
dirty_history-0.5.2 dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/models/pets/cat.rb
dirty_history-0.5.2 dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/models/pets/cat.rb
dirty_history-0.5.2 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/models/pets/cat.rb
dirty_history-0.5.2 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/models/pets/cat.rb
challah-0.5.1 vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/pets/cat.rb
challah-0.5.1 vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/models/pets/cat.rb
challah-0.5.0 vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/models/pets/cat.rb
challah-0.5.0 vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/pets/cat.rb
dirty_history-0.5.1 dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/models/pets/cat.rb