Hi, When calling remote functions (AJAX), I can test for :success and :failure. But how do I return a :success or :failure to my AJAX function call from my action? Thanks Joerg
on 2006-01-10 11:10
on 2006-01-10 13:12
In your controller render :nothing, :status=>200 # calls success render :nothing ,:status=>500 #calls failure ,any status other than 2XX
on 2006-01-10 13:14
Ah awesome - thanks.