title: Rails 3 edit_path method not working
body: <p>sorry if this is a dumb Q, this is my first Rails3 project...</p>
  
  <p>For some reason, this <code>&lt;%= link_to 'edit', edit_geofence_path(geofence) %&gt;</code> </p>
  
  <p>renders as <code>&lt;a href="/geofence/edit.2"&gt;edit&lt;/a&gt;</code> (my geofence's id is 2).  </p>
  
  <p>And <code>&lt;%= link_to 'delete', {:action=&gt;'destroy', :id=&gt;geofence}, :confirm=&gt;"You sure?", :method=&gt; :delete %&gt;</code> </p>
  
  <p>renders as <code>&lt;a href="/geofence?id=2" data-confirm="You sure?" data-method="delete" rel="nofollow"&gt;delete&lt;/a&gt;</code>, </p>
  
  <p>which might be fine, but clicking the link generates this in the logs <code>Started GET "/geofence?id=2"</code>.  So, not DELETE, just GET.  </p>
  
  <p>My routes.rb file is just <code>resource :geofence</code>.</p>
  
  <p>On a related note, for some reason the default action for a geofence is "show".  So /geofence/ DOES NOT call the index method, it calls the show method.  I think that also must be wrong. </p>
  
  <p>I'm done cursing at this app for now, I'm going to take a day to cool off and hopefully get this SIMPLE SCAFFOLD working tomorrow night...   Help me, stackoverflow!  You're my only hope!</p>