views:

24

answers:

1

Just going through the rails tutorial, and I noticed that the error messages are all hard coded in the controller actions etc.

What is the pattern to pull these from a localized resource file? (I'm on chapter 9 so far)

+1  A: 

There's a whole another guide about that.

(don't know what tutorial you're using, but from my experience guides.rubyonrails.org provides the best Rails reference material on the web)

Nikita Rybak
railstutorial.org is what i'm reading now
Blankman
@Blankman Never heard of it, but good luck! And you can always consult official rails guide if you have any difficulties.
Nikita Rybak