class DummyController def session {} end def redirect_to(path) end def url_for(opts) end def params {} end def request end end