While testing a Sinatra app with Cucumber, Rack::Test was not able to find the cooki开发者_Go百科e that my app created, even though I could clearly see that it was in the Rack::Test::CookieJar object
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely soli开发者_Go百科
I\'m struggling with a strange issue. According to http://github.com/sinatra/sinatra (secion Filters) a response object is available in after filter blocks in Sinatra 1.0. However the response.status
I\'ve been using CakaPHP and Kohanaphp but n开发者_开发百科ow I want to try out other frameworks from a more sophisticated OOP language for my next projects.
I have sinatra ap开发者_运维问答pliction using session, how do I test a page that uses session?
I want to be able to do the following: get \'/:slug\' do haml :page end get \'/administration\' do haml :admin
I have created an App on Heroku which works perfectly in a Web Browser. As a second step, I want to view the App hosted on Heroku in Yahoo! App.
I wrote a simple Sinatra app that generate an image using rmagick from some user inputs. The image is saved in the ./public directory with a unique file name. The unique file name is used in the HTML
I am running a sinatra app through开发者_如何学编程 RACK. To which file does the activity get logged ? Also how can I set the log file path ?It depends. Many developers define their app log file to a
I want to write a quick server app in Sinatra. It has to be self-contained (i.e. not use apache/nginx/passenger) but also has to support SSL.