Viewing posts tagged Autocomplete

Autocomplete over Associations in Rails 4

When creating a simple web application for a friend I found out the Formtastic (later Simple Form) solution for a belongs_to: :customer associaton, a <SELECT> was not the best. It simply loaded all customer names and ids into the HTML (more than 15 thousand!). Among the solutions I thought an Autocomplete field to be the best.