This project is archived and is in readonly mode.
Model#human_attribute_name does not accept symbols
Reported by José Valim | August 9th, 2009 @ 06:26 PM | in 2.3.4
Post.human_attribute_name(:body) does not work, I always have to convert :body to string. Would be nice if the API accept symbols too.
Comments and changes to this ticket
-
Arthur Zapparoli August 9th, 2009 @ 06:46 PM
I've attached a patch containing the fix for this ticket
-
Felipe Talavera August 9th, 2009 @ 09:30 PM
verified
+1 This applies to 2-3-stable and master cleanly and pass all the test.
-
Tristan Dunn August 9th, 2009 @ 09:50 PM
- Tag changed from activerecord, bugmash to activerecord, bugmash, verified
+1
Verified to apply to master and 2-3-stable cleanly with passing tests.
-
Elad Meidar August 9th, 2009 @ 09:57 PM
+1 Verified Applies on 2-3-stable and master with passing tests.
-
Repository August 9th, 2009 @ 11:57 PM
(from [18b4ac6992bdd51b9c279c064b60692bb80235ba]) Model#human_attribute_name now accept symbols [#3025 status:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/18b4ac6992bdd51b9c279c064b6069... -
Repository August 9th, 2009 @ 11:57 PM
(from [ce2422ceaf8ee128e6ea9d8582611ba2ac1e0406]) Model#human_attribute_name now accept symbols [#3025 status:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/ce2422ceaf8ee128e6ea9d8582611b... -
José Valim August 9th, 2009 @ 11:57 PM
- State changed from new to resolved
- Tag changed from activerecord, bugmash, verified to activerecord, verified
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
Attachments
Tags
Referenced by
- 3025 Model#human_attribute_name does not accept symbols (from [18b4ac6992bdd51b9c279c064b60692bb80235ba]) Model#h...
- 3025 Model#human_attribute_name does not accept symbols (from [ce2422ceaf8ee128e6ea9d8582611ba2ac1e0406]) Model#h...