This project is archived and is in readonly mode.

#1546 ✓duplicate
Pascal Ehlert

InstanceTag#to_label_tag should use human_attribute_name

Reported by Pascal Ehlert | December 10th, 2008 @ 01:22 PM | in 2.x

Instead of using method_name.humanize which used to be the preferred way of doing this in the pre-I18n era, #to_label_tag should now use ActiveRecord::Base#human_attribute_name to retrieve it's default caption.

I will come up with a patch later this day, this is just a note to myself.

Comments and changes to this ticket

Create your profile

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

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages