search for: the_right_div

Displaying 1 result from an estimated 1 matches for "the_right_div".

2006 Mar 17
1
How to handle errors - HELP
...ams[:id]}") render_without_layout end If the comment is blank, then do I want to rescue the nil, then "render :text => ''Please fill out the fields.''"? Then in my remote form options, on the :update, I could have: :update => {:success => ''the_right_div'',:failure => ''error_div''} ???? This is how I interpret the overall process, but I don''t know the correct syntax on how to do this with the resue, and what I check for. I just want nothing to happen when the user clicks the "submit comment" butto...