public
Rubygem
Description: Classy web-development dressed in a DSL
Homepage: http://sinatrarb.com
Clone URL: git://github.com/bmizerany/sinatra.git

Comments for sinatra   feed

karmi commented on bmizerany/sinatra 2 months ago
Comment in 302a03c:

Ryan, this totally awesome, thank you very much. This is caching as it should be done :) 1000.times { puts "Thank you! " }

rtomayko commented on bmizerany/sinatra 4 months ago
Comment in 7526dac:

Aye. If anything, I’d say that case statement is evil ;)

rtomayko commented on bmizerany/sinatra 4 months ago
Comment in bcdf496:

Awesome! I was all for it but I wasn’t sure how much rigor we should apply to moving new methods to the top-level.

bmizerany commented on bmizerany/sinatra 5 months ago
Comment in 1776a80:

you’re right. thx.

kastner commented on bmizerany/sinatra 5 months ago
Comment on README.rdoc L219 in 1776a80:

This should be ln -s ../sinatra (no trailing slash)

jmettraux commented on bmizerany/sinatra 5 months ago
Comment in 5b3440e:

Thanks Nickolas !

nmeans commented on bmizerany/sinatra 5 months ago
Comment in 5b3440e:

Take a look at the sandbox_refactor branch in Ryan Tomayko’s fork of Sinatra (http://github.com/rtomayko/sinatra/commits/sandbox_refactor). Around line 942 of lib/sinatra.rb there’s a new options setting mechanism that will likely get merged into Blake’s master soon(ish). That will let you do this in your main app file:
set_option :root, "/var/www/apps/whatever…"

jmettraux commented on bmizerany/sinatra 5 months ago
Comment in 5b3440e:

I wish there were a way to set the root, seems like I have to relocate my start.rb from ./bin to ./
(and I wonder if commenting commits is the way to go)

bmizerany commented on bmizerany/sinatra 5 months ago
Comment in f9e6b88:

oops. my bad.

rtomayko commented on bmizerany/sinatra 5 months ago
Comment on lib/sinatra.rb L458 in f9e6b88:

Woops! to_params uses an ampersand as a separator whereas media type parameters use commas. Maybe we could add a separator arg to to_params that defaults to ’&’?