I have an autocomplete field with road names (looking up in a database
with
approx. 100,000 road names).
To limit the number of roads, i want an extra input field where to put
postal code.
I’m currently using <%= text_field_with_auto_complete %> for the field.
What is the best way in Rails to intercept the Ajax call and send the
value
of the postal_code field?
(I guess I could do it by hand, but I think that there is a smarter way
of
doing this).
Thanks!
–