RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: caplod
what if you have validations on the associated model?
in the model i have
self.spot = Spot.find_or_create_by_name(name, :address => name) if name.present?
and a geocoder like in episode #273 attached to spot.
when i have a spot_name that i cannot geocode i want the form to display the error but how do i do that?