Error
Template is missing
Missing template
./script/../config/..//app/views//recipe/list.rhtml
I am complete newbie doing the OnLamp tutorial. I
installed everything today so I think I have latest
versions. ( I did use PostgreSQL instead of MySQL, but
I found the gem install postgres-pr and guessed from
the error message that recipes_id_seq was the right
sequence.
And yes I did have a list.rhtml.htm at one point.
But I now have it so that
http://127.0.0.1:3000/recipe/list fails with
./script/../config/..//app/views//recipe/list.rhtml
But I don''t think it is a complete newbie error since
http://127.0.0.1:3000/recipe works. I even edited
list.rhtml to include a <td>Lee</td> and that came out
with an extra column so .../recipe is using the file I
gave it.
http://127.0.0.1:3000/recipe/ also works
http://127.0.0.1:3000/recipe/list/ also fails.
I control-C and restarted ruby script\server
I googled and found this error several times but no
solution that worked for me.
I also tried it in IE, ince rubyonrails.org seems to
be an IE site (
http://wiki.rubyonrails.com/rails/show/GettingStartedWithRails
gives this error:
XML Parsing Error: duplicate attribute
Location:
http://wiki.rubyonrails.com/rails/show/GettingStartedWithRails
Line Number 49, Column 28:<form action="../search/"
action="get" style="font-size: 10px; margin-bottom:
5px">
---------------------------^
in Firefox but not IE.
I am running on XP ( up to date with SP/windowsupdate)
so I am guessing it has to do with XPs use of
backslash instead of slash.
TIA,
Lee
class RecipeController < ApplicationController
scaffold :recipe
def list
@recipes = Recipe.find_all
end
end
____________________________________________________
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com