krauter
krauter copied to clipboard
New router for Rails. Tiny (200 lines fool!), quick (adding routes so fast it hurts and competes with current router otherwise), and agile (OK...it's not more agile. But it sounds cool.)
Krauter
New router implementation for Rails. Works on very simple principles of data structuring. Read the code (it's only 200 lines!)
TODO
- Route globbing
- Don't worry with trying to interpolate params if there are none
- Named routes (do a Merb-style url method and then make whatever_path / whatever_url use that)
- Errr remember what the mystery arg does...
- Reloading
- Test on Ruby 1.9
Copyright (c) 2009 Jeremy McAnally, released under the MIT license