title: Formtastic select list
body: <pre><code>&lt;% semantic_form_for(@product, :html =&gt; {:multipart =&gt; true}) do |f| %&gt;
  
      &lt;% f.inputs do %&gt;
          &lt;%= f.input :name %&gt;
          &lt;%= f.input :price %&gt;
          &lt;%= f.input :pno %&gt;
          &lt;%= f.input :description %&gt;
          &lt;%= f.input :shop_category %&gt;
      &lt;% end %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>Product belongs to Shop_category, Shop_category belongs to Shop.</p>
  
  <p>How to change the line :</p>
  
  <pre><code>&lt;%= f.input :shop_category %&gt;
  </code></pre>
  
  <p>To show only shop_categories that belongs to Shop with id for example 15 instead of showing all shop_categories in the select box ?</p>