Sha256: 512b5fb78a1b881845b34b326f124a1b6f709e0c87e09dd53a0e26da4aee508e
Contents?: true
Size: 558 Bytes
Versions: 11
Compression:
Stored size: 558 Bytes
Contents
require 'flail' require 'flail/rails/rescue_action' if defined?(::ActionController::Base) ::ActionController::Base.send(:include, Flail::Rails::RescueAction) ::ActionController::Base.send(:include, Flail::Rails::ControllerMethods) end if defined?(::Rails.configuration) && ::Rails.configuration.respond_to?(:middleware) ::Rails.configuration.middleware.insert_after 'ActionController::Failsafe', Flail::Rack end Flail.configure do environment(defined?(::Rails.env) && ::Rails.env || defined?(RAILS_ENV) && RAILS_ENV) host Socket.gethostname end
Version data entries
11 entries across 11 versions & 1 rubygems