Skip to content

Instantly share code, notes, and snippets.

@jondot
Created May 30, 2010 20:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jondot/419318 to your computer and use it in GitHub Desktop.
Save jondot/419318 to your computer and use it in GitHub Desktop.

possible typo renderer.rb:162 view_path = options.delete(:views) || settings.views || settings.views || "./views"

docs nonsynched? - why first one is erb? renderer.rb:149 # get "/foo", :respond_to => [:html, :js] do; render 'path/to/foo'; end # # If you request "/foo.js" with I18n.locale == :ru => [:"/path/to/foo.ru.js", :erb] # # If you request "/foo" with I18n.locale == :de => [:"/path/to/foo.de.haml", :haml]

XSS support?

constant folding router.rb:41 (-1.0 / 0.0)

tip: improve startup time - list requirements in order of dependency

application.rb lines 90-110 need to go. its implemented in server.rb and if thats included gets overwritten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment