Are you sure you don't have a typo, and name of your template looks
exactly like that "app/views/posts/index.html.erb" ?
if it's not could you provide here your posts controller, routs and
index view

On Mar 19, 3:14 am, Stone <vtgbe...@gmail.com> wrote:
> Hello,
>
> Upon going through the rails quickstart 
> guide:http://guides.rubyonrails.org/getting_started.html&; also this guide
> here:http://fuelyourcoding.com/creating-your-first-ruby-on-rails-applicati...
> - I always get "Missing Template" errors.
>
> Specifically:
> "Template is missing
> Missing template posts/index.erb in view path app/views"
>
> Currently the file index.html.erb lives in app/views/posts/ - why is
> the error message looking for a .erb file when there is a .html.erb
> file in the folder that was created by a scaffold command? Renaming
> the file to .erb does not solve the problem.
>
> Here's my setup info from localhost:3000
> Ruby version    1.8.7 (universal-darwin10.0)
> RubyGems version        1.3.6
> Rack version    1.0
> Rails version   2.3.5
> Active Record version   2.3.5
> Active Resource version 2.3.5
> Action Mailer version   2.3.5
> Active Support version  2.3.5
> Application root        /Users/vtgbeats/[ Projects ]/[ Rails Apps ]/slambook
> Environment     development
> Database adapter        sqlite3
> Database schema version 20100318235949
>
> The routes.rb file is in default state.
>
> I've successfully created small RORs apps before and now I can't even
> render a view, please help. Thanks everyone,
> Stone

-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to