Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 1a474cc8e4
Fetching contributors…

Cannot retrieve contributors at this time

7 lines (5 sloc) 0.114 kB
class Toy < ActiveRecord::Base
self.primary_key = :toy_id
belongs_to :pet
scope :with_pet, joins(:pet)
end
Jump to Line
Something went wrong with that request. Please try again.