Module: BrighterPlanet::Pet::Relationships

Defined in:
lib/pet/relationships.rb

Class Method Summary collapse

Class Method Details

.included(target) ⇒ Object



4
5
6
7
8
# File 'lib/pet/relationships.rb', line 4

def self.included(target)
  target.belongs_to :species
  target.belongs_to :breed
  target.belongs_to :gender
end