# File lib/exception_notifiable.rb, line 29 def consider_local(*args) local_addresses.concat(args.flatten.map { |a| IPAddr.new(a) }) end
# File lib/exception_notifiable.rb, line 42 def exception_data(deliverer=self) if deliverer == self read_inheritable_attribute(:exception_data) else write_inheritable_attribute(:exception_data, deliverer) end end
# File lib/exception_notifiable.rb, line 50 def exceptions_to_treat_as_404 exceptions = [ActionController::UnknownController, ActionController::UnknownAction] exceptions << ActionController::RoutingError if ActionController.const_defined?(:RoutingError) exceptions << ActiveRecord::RecordNotFound if Object.const_defined?(:ActiveRecord) exceptions end
Generated with the Darkfish Rdoc Generator 2.