Displaying 1 result from an estimated 1 matches for "internship_categori".
Did you mean:
internship_categories
2009 Feb 23
2
geokit - using :through to connect models
...uot; + state + " " + zip)
| errors.add(:address, "Could not Geocode address") if !geo.success
| self.lat, self.lng = geo.lat,geo.lng if geo.success
| end
|
| end
`----
and an internship:
,----[ internship.rb ]
| class Internship < ActiveRecord::Base
| has_many :internship_categories
| belongs_to :employer, :polymorphic => true
| acts_as_mappable :through => :employer
| end
`----
it seems like there is an intermediary object in the docuements called
'':locatable'' that connects the the two together, but i just can''t get
how that is being ca...