title: Problem while editing a record
body: <p>i treid to edit one record of my tables in rails 3 but ann error occured like this :
  <strong>ActiveRecord::RecordNotFound in WordsController#edit</strong>
  in my controller:</p>
  
  <pre><code>def edit
          @adverb =Adverb.find(:id)
    end
  </code></pre>
  
  <p>and in my view i have :</p>
  
  <pre><code> &lt;% @adverb.each do |av| %&gt;
              &lt;tr class="&lt;%= cycle("odd", "even") -%&gt;"&gt;
              &lt;td&gt;&lt;%= av.name  %&gt;&lt;/td&gt;
              &lt;td&gt;&lt;%= av.bedeutung %&gt;&lt;/td&gt; 
              &lt;td&gt;
              &lt;%= link_to 'edit',{:controller =&gt; 'words',:action =&gt; 'edit',:id=&gt; av.id} %&gt;
              &lt;/td&gt;
              &lt;/tr&gt;
   &lt;% end %&gt;
  </code></pre>
  
  <p>how can i solve this problem?</p>