Here\'s my sinatra code: get \'/\' do foo = \'not bar\' erb :index end My layout.erb <html> <head></head>
I\'m trying to use the url_for extension so my app can accurately find my static assets (tried the static assets extension as well, but it also complained of this same problem).
I have a very simple sinatra app (teaser page) running on Heroku on a custom domain. All is working well.
I just implemented Compass configuration for my Sinatra app but when I change the environment to :test or :production and modify my files like screen.sass or index.haml my changes are not reflected wh
I\'m struggling with implementing a RESTful API that should return JSON response and should sustain very high load.
We have written an Sinatra application that uses Thin as its web server and rack as the middleware between the two. I w开发者_Python百科ould like to know if Rack is smart enough to allow concurrent wr
I am trying to deploy a simple app to Heroku (Sinatra and using DataMapper for the ORM), and I am gettin开发者_StackOverflowg these errors whenever I try to submit my form:
I\'m trying to integrate the Rack OAuth-2 server into my sinatra application, to use it in a web-server flow implementation and I can\'t make it work :(. I the following code in the oauth controller
I am using Ruby 1.9.2, and I have a class that uses the observer mixin: require \'observer\' class Street
I have lot of helpers in my main Sinatra project_name.rb and I want to remove them to the external file, what is the best practice to do that ?