Module: BrighterPlanet::Computation::Relationships

Defined in:
lib/computation/relationships.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
# File 'lib/computation/relationships.rb', line 4

def self.included(base)
  base.send :belongs_to, :zip_code, :foreign_key => 'zip_code_name'
end