Accessing a controller asynchronously usually requires writing a respond_to block in the corresponding action but I recently had the need to return a specific value in the same action based on the query string parameters.
Author: Tom (Page 416 of 427)
Here are the goods from the past week:
I’m in the process of building a Rails application and needed to introduce some autocomplete functionality on a couple of text fields.
If you’re using Rails 3 and are not working with jQuery and the jQuery UI library, then there is a solid gem you may want to checkout; otherwise, here’s how you can setup autocomplete on a text field using Rails 3, jQuery, and jQuery UI.
Some of the goods from around the web the past week:
The usual weekly round up for some of the stuff I found around the web this week: