Hi Everybody, I''m trying to use named routes (method foo_url where foo is the route). I''m trying to call the method from inside a Liquid tag definition, so the class is _not_ a subclass of ActionController foo_url gets a no method error ActionController::Routing::Routes.foo_url and ActionController::Routing::Routes.named_routes.foo_url have the same error. trying script/console: ActionController::Routing::Routes.named_routes[:foo] (note: no _url) gives me a ActionController::Routing::Route object. So I know the route is there. But how do I invoke it or make use of it? Ideas much appreciated. Regards from New York City, Larry -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---