Sha256: 0b6f0276f33a98ca2bd301bfa02db0d016511be5a4f2c1539e5cf5cbf84f4148

Contents?: true

Size: 127 Bytes

Versions: 8

Compression:

Stored size: 127 Bytes

Contents

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ibm_db-5.2.0-x86-mingw32 test/models/toy.rb
ibm_db-5.1.0-x86-mingw32 test/models/toy.rb
ibm_db-5.0.5-x86-mingw32 test/models/toy.rb
ibm_db-5.0.4-x86-mingw32 test/models/toy.rb
ibm_db-5.0.3-x86-mingw32 test/models/toy.rb
ibm_db-5.0.2-x86-mingw32 test/models/toy.rb
ibm_db-3.0.5-x86-mingw32 test/models/toy.rb
ibm_db-3.0.5 test/models/toy.rb