Default Scaffolding Gives Errors


This is the default scaffolding for list.rhtml:

<h1>Listing <%= @scaffold_plural_name %></h1>

<% for column in @scaffold_class.content_columns %>
<th><%= column.human_name %></th>
 <% end %>

  <% for entry in instance_variable_get("@#{@scaffold_plural_name}") %>
<% for column in @scaffold_class.content_columns %>
    <td><%= entry.send( %></td>
  <% end %>
      <td><%= link_to "Show", :action => "show#{@scaffold_suffix}", :id
=> %></td>
      <td><%= link_to "Edit", :action => "edit#{@scaffold_suffix}", :id
=> %></td>
      <td><%= link_to "Delete", :action => "destroy#{@scaffold_suffix}",
:id => %></td>
  <% end %>

  <br />

  <%= link_to "New #{@scaffold_singular_name}", :action =>
"new#{@scaffold_suffix}" %>

For some reason whenever I click on the the “Show”, “Edit”, or “Destroy”
links, I get a “Couldn’t find Post without an ID” error. THat seems odd
because I have the right there, and for some reason it’s not
linking to http://localhost:3000/blog/show/1, it just links to

Any ideas?


Also, when I try and manually access the ID’s, like /blog/show/1, I get
this error:

Couldn’t find Post with ID=1

What gives?