Checking rails routes

I just had to debug a strange problem with the Routing in JRuby. So in case you need to test the routing mechanism “by hand” go


> jruby script/console
>> ActionController::Routing::Routes.recognize_path('/my/path', {:method => :get})
Advertisements

Comments are closed.

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: