#51 ✓resolved
James Le Cuirot

Rails 2.2 I18n fixes

Reported by James Le Cuirot | February 26th, 2009 @ 07:02 AM

Got an easier one for you today. I've just upgraded from Rails 2.1 to 2.2. I was calling errors.add(:verified) in my UserSession model but this didn't work anymore unless I explicitly gave a message string. Giving nothing or a symbol results in it not finding the self_and_descendants_from_active_record method. I added this but then it couldn't find the human_name method. I added this too and now it works. Here's a patch.

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

Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.

People watching this ticket

Attachments

Pages