Simple Rails Javascript Form Validation
March 4th, 2008
If you have a form with some required text fields (like, name, password) then waiting for your users to hit submit is too late to tell them those fields are required. The other option is disabling the submit button until they have filled in the data, here is how…
Read the rest of this entrySpinning Circle of Death - Or How to Add Exception Handling to a Rails AJAX App
February 28th, 2008
If you are programming a Ruby on Rails AJAX application, you will have to handle system exceptions at some point, because if you don’t, the user gets to sit watching a spinner.gif file merrily spinning away for the rest of his or her natural existence…
Read the rest of this entryHistory Buttons with AJAX and Ruby on Rails
February 22nd, 2008
If you are using Ruby on Rails with AJAX to update parts or whole pages of your site, you will hit the history problem soon enough, luckily, with Really Simple History and Rails’ RJS templates and helpers, it becomes quite trivial to handle.
Read the rest of this entry