What version of rails are you running on? Rails 2.0 uses the new extensions
of .html.erb which indicates that it''s in a HTML format written in ERB,
where as previous versions of rails still use the old .rhtml extension. You
may have to rename the file to .rhtml.
On Jan 23, 2008 10:48 AM, Neil Hoyne
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:
>
> Hi everyone,
>
> I''ve been setting up a web application on my host (mediatemple)
using
> the restful_authentication with the guidance offered by a few help files
> and the video from Railscast. Everything went fine with the
> installation, configuration and database migration, but whenever I run
> it, this error pops up:
>
>
> Processing SessionsController#new
> [GET]
> Session ID: 5c4c2fe4d0f72f51aef1bbe4e9b391a1
> Parameters: {"action"=>"new",
"controller"=>"sessions"}
>
>
> ActionController::MissingTemplate (Missing template
> /home/xxxxxx/containers/rails/beta/app/views/sessions/new.rhtml):
>
> Now when I flip over to that directory, I have:
>
> :/home/xxxxxx/containers/rails/beta/app/views/sessions$ ls
> new.html.erb
>
>
> Is there some missing file association that I need to setup or ?
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>
--
Ryan Bigg
http://www.frozenplague.net
Feel free to add me to MSN and/or GTalk as this email.
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---