Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save JigneshGohel-BoTreeConsulting/91c004686de21bd6ebc1 to your computer and use it in GitHub Desktop.
Save JigneshGohel-BoTreeConsulting/91c004686de21bd6ebc1 to your computer and use it in GitHub Desktop.
MyApp Middlewares

$ rake middleware
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
use ActionDispatch::Static
use Rack::Lock
use #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x00000006510558>
use Rack::Runtime
use Rack::MethodOverride
use ActionDispatch::RequestId
use Rails::Rack::Logger
use ActionDispatch::ShowExceptions
use ActionDispatch::DebugExceptions
use ActionDispatch::RemoteIp
use ActionDispatch::Reloader
use ActionDispatch::Callbacks
use ActiveRecord::ConnectionAdapters::ConnectionManagement
use ActiveRecord::QueryCache
use ActionDispatch::Cookies
use ActionDispatch::Session::CookieStore
use ActionDispatch::Flash
use ActionDispatch::ParamsParser
use ActionDispatch::Head
use Rack::ConditionalGet
use Rack::ETag
use ActionDispatch::BestStandardsSupport
use Warden::Manager
use ActionDispatch::Static
use OmniAuth::Strategies::Twitter
use OmniAuth::Strategies::Facebook
use OmniAuth::Strategies::LinkedIn
use OmniAuth::Strategies::GoogleOauth2
use OmniAuth::Strategies::GooglePlus
run MyApp::Application.routes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment