Aug 26, 2018
to leave a response.
Never Miss an Articles from us.
By default, Sessions are disabled in Sinatra.You need to enable them and then use the session hash from routes and view..
Rack:: Flash is used to flash a message in Sinatra.Example Usage :require 'sinatra/base'
require 'rack-flash'class My..
The request object probably has what you’re looking for:get '/hello-world' do
request.path_info # => '/hello-w..
Paste a link of your article or pdf.
Create your account to comment, follow, share link / Article and Download PDF's.