Category Archives: CoffeeScript

Posting forms with AJAX on checkbox toggle

In a recent Rails 3.1 project, I wanted to have some values updated via AJAX when a checkbox value is checked or unchecked. As I was unable to find anything on the subject online, I figured I would document it … Continue reading

Posted in AJAX, CoffeeScript, jQuery, Rails | Comments Off

First encounter with the Rails asset pipeline and Coffeescript

I was working on a Rails 3.1 project, and wanted to have some javascript image preview functionality (much like this) in several places within the project. Since this project used the new Rails 3.1, I decided I’d do my best … Continue reading

Posted in CoffeeScript, jQuery, Rails | 2 Comments