Sha256: 5a4cc9dd57a23e601b77cdef674ed611913a29f83b342a63f8e335a543759c90

Contents?: true

Size: 121 Bytes

Versions: 20

Compression:

Stored size: 121 Bytes

Contents

class Toy < ActiveRecord::Base
  self.primary_key = :toy_id
  belongs_to :pet

  scope :with_pet, -> { joins(:pet) }
end

Version data entries

20 entries across 20 versions & 3 rubygems

Version Path
ibm_db-5.2.0 test/models/toy.rb
ibm_db-5.1.0 test/models/toy.rb
ibm_db-5.0.5 test/models/toy.rb
ibm_db-5.0.4 test/models/toy.rb
ibm_db-5.0.3 test/models/toy.rb
ibm_db-5.0.2 test/models/toy.rb
ibm_db-4.0.0-x86-mingw32 test/models/toy.rb
ibm_db-4.0.0 test/models/toy.rb
ibm_db-3.0.4-x86-mingw32 test/models/toy.rb
ibm_db-3.0.4 test/models/toy.rb
ibm_db-3.0.3-x86-mingw32 test/models/toy.rb
ibm_db-3.0.3 test/models/toy.rb
ibm_db-3.0.2-x86-mingw32 test/models/toy.rb
ibm_db-3.0.2 test/models/toy.rb
activejob-lock-0.0.2 rails/activerecord/test/models/toy.rb
ibm_db-3.0.1 test/models/toy.rb
ibm_db-3.0.1-x86-mingw32 test/models/toy.rb
activejob-lock-0.0.1 rails/activerecord/test/models/toy.rb
activerecord-nuodb-adapter-1.1 test/models/toy.rb
activerecord-nuodb-adapter-1.0.4 test/models/toy.rb