RailsCasts Pro episodes are now free!

Learn more or hide this

Erin Walker's Profile

GitHub User: ewalkerblog

Site: erinwalker.me

Comments by Erin Walker


Can someone please help me - very desperate, will pay!
My very simple Rails App has a Model with two methods:

:From :To

I use the awesome (Google Maps API) powered address-rails-picker app for the :to and :from in the form to automplete any location the user types in.

I do however have trouble in writing a validation that forces the user to choose an autocomplete location instead of writing any gibberish the user wants.

Would the Token Input help here by limiting it to one? I don't wan the Facebook look though with the X etc.


Yes - how does it work with nested resources?