I used this guide: guides.rubyonrails.org/i18n.html to localize my
sample application

i've set config/environment.rb, controllers/application.rb as it is
written in the article

#views/home/index.html.erb
<h1><%=t :hello_world %></h1>

but when I start application the following error occurs:

ArgumentError in Home#index
Showing app/views/home/index.html.erb where line #1 raised:


How to avoid this error?

I'm using Mongrel/Apache and my rails configuration is:

Ruby version  1.8.6 (i386-mswin32)
RubyGems version  1.3.1
Rails version  2.2.2
Active Record version  2.2.2
Action Pack version  2.2.2
Active Resource version  2.2.2
Action Mailer version  2.2.2
Active Support version  2.2.2

Please, help me :-)
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Railsi18n-discussion mailing list
Railsi18n-discussion@rubyforge.org
http://rubyforge.org/mailman/listinfo/railsi18n-discussion

Reply via email to