title: The path for form_tag is not right
body: <p>I am working on a small Rails 4.2 app to modify records in a few db tables which are in 2 rails engines. A rails app is created for this purpose. There is only one controller <code>user_menus</code> with no model. </p>
  
  <pre><code>class UserMenusController &lt; ApplicationController
  
    def home
  
    end
  
    def doper
      #update db records
  
    end
  </code></pre>
  
  <p>The <code>home.html.erb</code> is a form to enter some params for update. </p>
  
  <pre><code>&lt;%= form_tag(:controller =&gt; 'user_menus', :action =&gt; 'doper', :method =&gt; 'get') do %&gt;
       &lt;div class="form-inputs"&gt;
         &lt;%= label_tag(:db_name, "Release") %&gt;
         &lt;%= select_tag(:db_name, options_for_select([['',''],['Engine Config', 'engine_config'], ['User Access', 'user_access'], ['Search Stats', 'search_stats']])) %&gt;
  
        &lt;%= submit_tag 'Submit' %&gt;
          &lt;/div&gt;
    &lt;% end  %&gt;
  end
  </code></pre>
  
  <p>In <code>routes.rb</code>, there are definitions:</p>
  
  <pre><code>  get '/handler', :to =&gt; "user_menus#doper"
  
    root :to =&gt; "user_menus#home"
  </code></pre>
  
  <p>The problem is that I am having hard time to make right the the path for <code>form_tag</code>. The error is:</p>
  
  <pre><code>No route matches {:action=&gt;"doper", :controller=&gt;"user_menus", :method=&gt;"get"}
  </code></pre>
  
  <p>The following <code>&lt;%= form_tag('/handler') do %&gt;</code> is not working as well:</p>
  
  <pre><code>No route matches [POST] "/handler"
  </code></pre>
  
  <p>In <code>rake routes</code>, there is a definition for <code>/handler</code>. What I am missing here?</p>