Thanks for the reply-–

That's the problem... as far as I have checked examples of both ones
that work and ones that don't (new and old,) I haven't seen a
difference in either the models, views, or controllers... which is why
it's frustrating.  In particular, the parts that aren't working have
to do with route paths in Views.  Like in a form:

<% @journals.each_with_index do |journal, i| %>
  <tr <%= i%2==0 ? "class=\"table_stripe\"" : "" %>>
    <td><%=h journal.title %></td>
    <td><%=h journal.created_at.to_s(:long) %></td>
    <td><% #= link_to 'Show', journal %></td>
    <td><%= link_to 'Edit', edit_journal_path(journal) %></td>
    <td><% #= link_to 'Delete', journal, :confirm => 'Are you
sure?', :method => :delete %></td>
  </tr>
<% end %>


(I commented out the lines that aren't working)


And this worked in the last version I was using (2.0.2, I think.)  The
current version I'm using is 2.2.2.

Andy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to