title: Couldn't find Category without an ID
body: <p>I got such error after I globalized my app using <strong>globalize3</strong> gem.Before that It worked fine. It is because of that I translated all categories in 3 different languages. And at this moment it can't find that category. Because I am using that category name inside link. So if there is 3 categories then each time it should correspond to that category. But it not.
  Here is my code.
  </p>
  
  <p><em>My application layout</em></p>
  
  <pre><code> &lt;% @categs1.each do |categ|%&gt;
      &lt;li&gt;  &lt;%= link_to (categ.name), products_path(:category =&gt; categ.name)   %&gt; &lt;/li&gt;
   &lt;%end%&gt;
  </code></pre>
  
  <p><em>My routes file</em></p>
  
  <pre><code>  root :to =&gt; 'home#index'
  
  devise_for :admin_users, ActiveAdmin::Devise.config
    ActiveAdmin.routes(self)
  
  namespace :products do
    resources :categories do
      resources :products
    end
    resources :products, only: :index
  end
  
  match '/:locale' =&gt; 'home#index'
  scope "(:locale)", :locale =&gt; /en|lv|ru/ do
   resources :products, :manufacturers, :categories, :news, :ActiveAdmin
  </code></pre>
  
  <p>*Products_controller*</p>
  
  <pre><code> @categs1 =  Category.find(:conditions =&gt; { :id =&gt; [16,21,29,30] })
  </code></pre>
  
  <p>If you need additional code, please ask me. I am stuck here for two days already:(</p>