I recently created a Sinatra app with a login form (no basic auth).To prevent access to the app unless the user logged in I put a before block in place
I have a rails application with static content in the public directory (e.g. public/index.html) and additional static content in nested subdirectories (e.g. public/one/two/index.html).
I\'m using the casrack-the-authenticator gem for CAS authentication.My server is running Thin on top of Sinatra.I\'ve gotten the CAS authentication bit working, but I\'m not sure how to tell Rack to i
I\'m using Mirven\'s Twitter OAuth Sinatra example and trying to figure out how I can send a \'next page\' parameter with the Oauth request:
Unfortunately, GAE requires restart of the server on each code change. Is it possible to prevent it and have immediate feedback after code save?
Checked ActiveRecord, DataMapper, Sequel: some use globals (static variables) 开发者_高级运维some require open db connection before loading source file with models. What ORM is better to use in sinatr
I\'m trying to create a slug helper in Sinatra. Here\'s the code (as see开发者_如何学Cn here): helpers do
I\'m converting a part of a rails application to its own sinatra application.It has some beefy work to do and rather than have a million helps in app.rb, I\'ve separated some of it out into classes.Wi
get \'/stylesheets/style.css\' do header \'Content-Type\' => \'text/css; charset=utf-8\' sass :style
开发者_开发问答My jruby rack sinatra compass haml app correctly reloads changes to *.rb files, but does not detect changes to *.haml files.