#2 new
Sven Fuchs

Bug in error_messages_for

Reported by Sven Fuchs | August 9th, 2008 @ 11:40 AM


I'm using internationalization in rails-edge for testing . That's very pretty good feature. My problems beginning when use method error_messages_for : <%= error_messages_for :user %>

The problem occurring because method full_messages of Active Record receive one Array whem should receive one string on line 170. The problem can be ease solved adding to_s on message variable but I think that isn't good form to solve it.

This problem is consequence of my locale file don't have none set default messages for Active Record for instance: :active_record => { :error_messages => { :inclusion => "ain't included in the list" } }

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Repository for collecting Locale data for Ruby on Rails I18n as well as other interesting, Rails related I18n stuff

People watching this ticket