# Error\_messages\_for source code for Rails 2.1.0?

**URL:** <https://www.ruby-forum.com/t/error-messages-for-source-code-for-rails-2-1-0/164122>\
**Category:** Rails\
**Created:** [March 28, 2009, 7:04am UTC](https://www.ruby-forum.com/t/error-messages-for-source-code-for-rails-2-1-0/164122 "2009-03-28T07:04:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b9bd4f/32.png) [@ram](https://www.ruby-forum.com/u/ram)\
**Post date:** [March 28, 2009, 7:04am UTC](https://www.ruby-forum.com/t/error-messages-for-source-code-for-rails-2-1-0/164122/1 "2009-03-28T07:04:28Z")

</div>

Hi all,

Im looking to customize the validation error messages displayed by  
Rails. I took the code for error\_messages\_for from the Rails api docs  
and put it in my application\_helper to modify it but I get this error  
on it

uninitialized constant ApplicationHelper::I18n

Im on Rails 2.1.0 and I think there’s the problem.  
(Internationalization was not done pre- 2.2? ) Do correct me if im  
wrong.  
Where can I get the source code of error\_messages\_for that was used in  
Rails 2.1.0?  
Is there a way to view the source code of the rails installation i  
have on my local comp?

---

<div class="post-metadata">

**Author:** ![ram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b9bd4f/32.png) [@ram](https://www.ruby-forum.com/u/ram)\
**Post date:** [March 28, 2009, 7:24am UTC](https://www.ruby-forum.com/t/error-messages-for-source-code-for-rails-2-1-0/164122/2 "2009-03-28T07:24:55Z")

</div>

Dint strike me to go to Github until now!!

- [GitHub - rails/rails: Ruby on Rails](http://github.com/rails/rails/tree/master)
- click download
- choose version you want.
- unzip.

Guess this post was a bit of a waste of space!
