Skip to content

Instantly share code, notes, and snippets.

@elucid
Created February 28, 2017 20:37
Show Gist options
  • Save elucid/a0d0c13cd43845a07187d1299810ae85 to your computer and use it in GitHub Desktop.
Save elucid/a0d0c13cd43845a07187d1299810ae85 to your computer and use it in GitHub Desktop.
class NoActiveRecordController < ActionController::Metal
include Honeybadger::Rack::UserFeedback
include Honeybadger::Rack::ErrorNotifier
include Rack::Sendfile
include ActionDispatch::Static
include Rack::Lock
include Rack::Runtime
include Rack::MethodOverride
include ActionDispatch::RequestId
include RequestStore::Middleware
include Rails::Rack::Logger
include ActionDispatch::ShowExceptions
include ActionDispatch::DebugExceptions
include ActionDispatch::RemoteIp
include ActionDispatch::Reloader
include ActionDispatch::Callbacks
# include ActiveRecord::Migration::CheckPending
# include ActiveRecord::ConnectionAdapters::ConnectionManagement
# include ActiveRecord::QueryCache
include ActionDispatch::Cookies
include ActionDispatch::Session::CookieStore
include ActionDispatch::Flash
include ActionDispatch::ParamsParser
include Rack::Head
include Rack::ConditionalGet
include Rack::ETag
include Warden::Manager
include NewRelic::Rack::DeveloperMode
include NewRelic::Rack::BrowserMonitoring
include NewRelic::Rack::AgentHooks
# include Bullet::Rack
# include AcuityParameterFixer
# include AppVersion
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment