Does anyone know if there is a c# Console app, similar to the Python or Ruby console? I know the whole "Compiled versus Interpreted" difference, but with C#'s reflection power I think it could be done.
Well, it only took about 200 lines, but I wrote a simple one…It works a lot like osql. You enter commands and then run them with go.
If you want to use a helper that's not included by default (say, because you removed helper :all from ApplicationController), just include the helper.
>> include BogusHelper
=> "bogus output"
As for dealing with controllers, I quote Nick's answer:
> app.get '/posts/1'
> response = app.response
# you now have a rails response object much like the integration tests
> response.body # get you the HTML
> response.cookies # hash of the cookies
# etc, etc