Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Stefan Mielke's Profile

GitHub User: caplod


Comments by Stefan Mielke


what if you have validations on the associated model?

in the model i have

  def spot_name=(name) = 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?