#55: accessing locals hash within an ActionView partial

Solved!
How do you access the hash of locals you pass into a partial from within that partial?

#37: make url_for() generate a URL for the current page including GET params

Solved!
If you just use url_for() in a view, it will generate the url corresponding to the controller/action/id that generated, but it will leave out the precious GET params.