Hi there, is there a script/console like program where I can test my routing? IIRC there is something like that in the agile web dev. with rails book. Patrick -- Posted via http://www.ruby-forum.com/.
Patrick Gundlach wrote:> Hi there, > > is there a script/console like program where I can test my routing? IIRC > there is something like that in the agile web dev. with rails book.Maybe this will help : http://clarkware.com/cgi/blosxom/2006/04/04#HeadlessApp It lets you run your app "headless" from script/console for example:>> app.get "/home"=> 302 Chris -- Posted via http://www.ruby-forum.com/.
Hello Chris,>> is there a script/console like program where I can test my routing? IIRC >> there is something like that in the agile web dev. with rails book. > > Maybe this will help : > http://clarkware.com/cgi/blosxom/2006/04/04#HeadlessApp > > It lets you run your app "headless" from script/console for example: > >>> app.get "/home" > => 302That is exactly what I need. And adding a simple wrapper method makes it really easy to test. Thank you very much, Patrick -- Posted via http://www.ruby-forum.com/.