I noticed that if I rename the index.html.erb to index.en.html.erb, it
works. So I guess I should tell rails to use an "empty" locale when
looking for templates?

Also, I'musing JRuby.

Adam

On Sep 22, 4:00 pm, adamwtw <[email protected]> wrote:
> Hello,
>
> I'm trying to update my RoR 2.3.8 app to Rails 3; I followed the
> migration guide, but I'm getting a very weird error when trying to
> access the main page, or home/index:
>
> Started GET "/" for 127.0.0.1 at Wed Sep 22 15:37:59 +0200 2010
>   Processing by HomeController#index as HTML
> Completed   in 129ms
>
> ActionView::MissingTemplate (Missing template home/index with
> {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:html], 
> :locale=>[:en, :en]}
> in view paths "(...)/app/views", "(...)/vendor/plugins/verification/
> app/views"):
>   app/controllers/home_controller.rb:18:in `index'
>
> The file app/views/home/index.html.erb exists and it was all working
> perfectly fine under Rails 2. Any ideas? Where to look? :)
>
> Thanks,
> Adam

-- 
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