rango
rango copied to clipboard
Rango is ultralightweight, ultracustomizable, ultracool web framework inspired by Django.
Otherwise users will have empty logs. Also go through all the logging stuff and use bang methods when necessary, like for an exceptions and. Standard logger doesn't support these methods,...
quiet do DataMapper::ObjectNotFoundError = Class.new(NotFound) end So you rather than: def show(id) post = Post.get(id) raise NotFound unless post render "post.html", post: post end use just: def show(id) render "post.html",...
- show rango-specific issues - clickable backtraces (TextMate) - syntax highlighting if uv/syntax/whatever is installed - highlight backtraces from app - JS online backtrace filtering - JS online rack env...
Rails can do something ilke: `/:controller/:action`. Usher can works with params this way, so it shouldn't be hard.
get("foo").render(template) get("bar").defer(&block)
- http://timetobleed.com/memprof-a-ruby-level-memory-profiler - http://timetobleed.com/what-is-a-ruby-object-introducing-memprof-dump
http://rebase.github.com/howto.html
Temple for Template Complilation - http://judofyr.net/posts/temple.html - http://github.com/judofyr/temple
url(:post, @post, format: "foo") - @post ... /post/:slug => @post.slug - @post ... /post/:id => @post.id
- Each file require just what it really needs - There should be specs for testing what given file requires. The specs should parse given file which should have a...