Module: BrighterPlanet::Meeting::Relationships
- Defined in:
- lib/meeting/relationships.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 |
# File 'lib/meeting/relationships.rb', line 4 def self.included(base) base.belongs_to :zip_code, :foreign_key => 'zip_code_name' base.belongs_to :state, :foreign_key => 'state_postal_abbreviation' end |