HI, I have a problem printing the named route\'s URL in production application. In one of my email template (email registration confirmation), am trying to append the confirmation ur开发者_StackOverf
So I\'m getting a \'No route matches\' error, and being new to Rails 3 (and Rails in general), I really don\'t know what the problem is.Here are the pertinent routes:
In my \"routes.rb\" file I have the following line: resource :users which gives me a bunch of named routes for accessing my User model in a RESTful manner.
开发者_JAVA百科In Ruby on Rails, routes.rb, if we create a \"named route\" map.something \":a/:b\", :controller => \'foobar\'
I\'m trying to create a simple search form in Rails, but I think I\'m missing something. I have a named route for search: