Slim Ruby on Rails: Controllers & Middlewares

Slim Ruby on Rails: Controllers & Middlewares

Krzysztof Wawer

June 21, 2017

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

21 slides
  1. Ruby on Rails Middleware stack $ rails new app $

    rails new app --api $ rake middleware http://guides.rubyonrails.org/rails_on_rack.html#configuring-middleware-stack
  2. Ruby on Rails Middleware stack use Rack::MethodOverride use Sprockets::Rails::QuietAssets use

    WebConsole::Middleware use ActionDispatch::Cookies use ActionDispatch::Session::CookieStore use ActionDispatch::Flash http://guides.rubyonrails.org/rails_on_rack.html#configuring-middleware-stack

More Decks by Krzysztof Wawer

Other Decks in Programming