automatic assignment for a has_many association? #5

oliverbarnes opened this Issue Jun 15, 2010 · 2 comments


None yet

2 participants


hello, thanks for the great plugin, it's by far the most elegant solution I found for autocompleters.

trying to figure out how to adapt the plugin to deal with a has_many association... say for a Post having multiple Users, using the example in the readme.

would you have any pointers on how to accomplish this?


if you want to do everything in the model something like def add_user_by_autocomplete=(name) <-> text_feld_tag 'add_user_by_autocomplete'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment