Top "Sinatra" questions

Sinatra is a Domain Specific Language (DSL) for quickly creating web applications in Ruby with minimal effort.

Sinatra and Rack Protection setting

I am using Sinatra and CORS to accept a file upload on domain A (hefty.burger.com). Domain B (fizzbuzz.…

sinatra rack http-status-code-403
Return empty body with Sinatra

How can I specify sinatra to return an empty body with status of 200? I can do body "" but is there …

ruby sinatra
Sinatra - API - Authentication

We going to develop a little API application in Sinatra. What are the authentication options available to secure the API …

api authentication sinatra
Where does RACK log to?

I am running a sinatra app through RACK. To which file does the activity get logged ? Also how can I …

ruby sinatra rack
Deleting the current session with Rack::Session::Cookie

I feel like I'm missing something obvious here, and I'm hoping that as soon as I post this someone will …

ruby session sinatra rack
Devise with Sinatra

Does anyone had installed Devise gem with Sinatra? Devise is based on Warden and so it should work on Sinatra, …

ruby sinatra devise
Rackup to use Thin instead of WEBrick

New to Sinatra, just development server up and running but rackup is using WEBrick instead of Thin, Thin gem is …

sinatra thin
How to start and stop a Sinatra application using Thin on Windows?

class App < Sinatra::Base def hello "world" end end From documentation I found that I can start the application …

ruby windows sinatra thin
Why is this RMagick call generating a segmentation fault?

I've been banging my head against the wall for the better part of an hour trying to figure out what's …

ruby sinatra segmentation-fault rmagick ruby-1.9.1
Sinatra - how do I get the server's domain name

I'm trying to get the domain name in my Sinatra app but as a newbie I really am struggling to …

ruby sinatra domain-name