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 10:10
on 2006-01-10 12: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 12:14
Ah awesome - thanks.