Hello! Get a problem out here. I need to update flash notice with every one remote request. Flash.now[:notice] does that trick but not for remoting methods. So I''ve applied some after_filter (say clear_notice_on_xhr) but its render method not evaluating or i can''t see the result: def clear_notice_on_xhr return unless request.xhr? render :update do |page| page.replace_html("notice" , :partial => "layouts/notice") end rescue nil end Help! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---