We’ve mentioned Railscasts in a couple of previous posts. If you’re a budding (or experienced) Rails developer, then you owe it to yourself to check it out.
In a recent screencast, Ryan Bates shares a tutorial on rolling your own auto-complete functionality.
Specifically, he leverages jQuery for Rails, the jQuery Tokeninput plugin, and some custom controller code to create auto-complete for many-to-many associations.
You can view the project’s source code here, the full written tutorial on ASCIIcasts, or the video on Railscasts.
Speak your mind...