ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Rolling with Ruby on Rails
Subject:   NoMethodError in Recipe#list
Date:   2006-12-11 20:26:59
From:   jshphoto
Response to: NoMethodError in Recipe#list

Also. This is the extracted html error i got


Extracted source (around line #1):


1: <html>
<head>
<title>All Recipes</title>
</head>
<body>


<h1>Online Cookbook - All Recipes</h1>
<table border="1">
<tr>
<td width="40%">

Recipe</td>
<td width="20%">

Category</td>
<td width="20%">

Date</td>
</tr>


<% @recipes.each do |recipe| %>
<tr>
<td><%= link_to recipe.title, :action => "show", :id => recipe.id %></td>
<td><%= recipe.category.name %></td>
<td><%= recipe.date %></td>
</tr>
<% end %>
</table>

<%= link_to "Create new recipe", :action => "new" %>


</body>
</html>


RAILS_ROOT: /Users/jameshouser/Sites/cookbook3/public/../config/..


1 to 1 of 1
  1. NoMethodError in Recipe#list
    2007-04-13 19:41:24  RRS2007 [View]

    • NoMethodError in Recipe#list
      2007-04-13 20:08:06  RRS2007 [View]

      • NoMethodError in Recipe#list
        2009-04-08 07:32:23  yoberi [View]

      • NoMethodError in Recipe#list
        2009-04-08 07:08:08  yoberi [View]

1 to 1 of 1