module ActionController::Rescue
def use_rails_error_handling!
def use_rails_error_handling! Kernel.warn <<-WARNING ECATION NOTICE: controller.use_rails_error_handling! is ecated and will be removed from a future version of c-rails. rescue_action_in_public!, which is defined directly in s' testing framework, instead. ING if Rails::VERSION::STRING =~ /^2\.0/ @use_rails_error_handling = true else # anything but 0.0.0.0 - borrowed from rails own rescue_action_in_public! request.remote_addr = '208.77.188.166' end end