Autocompletion key value

Hi Guys,

I guess someone has done this before…

I need to use autocompletion to look up a list of values (think car
brands)
However, in the model I save the id of the brand, not the description.
(its not an option to lookup the id using the description after submit)

Has anyone done something like this?

I guess something with a hidden field or something could do the trick…

thanks in advance

Mikkel

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs