Monthly Archives: August 2006

Flex On Rails

In a Ruby on Rails web application you can do some fancy client-side effects using AJAX and RJS via remote links and remote forms. But toggling and fading HTML elements is a far cry from Rich Internet Application controls. In this article I will demonstrate how to connect a Flex 2 UI on the client-side [...]

Posted in Ruby, TechKnow | Leave a comment

Raising Model Errors In Rails

Recently I covered rails’ model validators. I wanted to add a few more details regarding the validation methods. If a validation fails you can display an error message in the rhtml view by using the following code: <%= error_messages_for ‘user’ %> The parameter for error_messages_for is the name of an instance variable. An instance variable [...]

Posted in Ruby, TechKnow | 2 Comments