Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Auto-Complete Association (revised)

#102 Auto-Complete Association (revised)

Nov 10, 2011 | 9 minutes | Ajax, Forms
A select menu is often used for setting a belongs_to association, but you should also consider using a text field with autocomple. Here I use jQuery UI and show two different solutions: client side and server side.