RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: ewalkerblog
Can someone please help me - very desperate, will pay!
My very simple Rails App has a Model with two methods:
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?