diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-07-17 10:18:36 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-07-17 10:18:36 +0000 |
commit | 305a5463bd1caf4d0e2f96d39ef3cbbf455788c6 (patch) | |
tree | 2f4847e89fe46130342744d759f8b46566a9d6c9 /activesupport/test | |
parent | e51221871c661cc4e057871fc31d5793f6e992bf (diff) | |
download | rails-305a5463bd1caf4d0e2f96d39ef3cbbf455788c6.tar.gz rails-305a5463bd1caf4d0e2f96d39ef3cbbf455788c6.tar.bz2 rails-305a5463bd1caf4d0e2f96d39ef3cbbf455788c6.zip |
Added stripping of _id to String#humanize, so "employee_id" becomes "Employee" #1574 [Justin French]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1854 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/inflector_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/test/inflector_test.rb b/activesupport/test/inflector_test.rb index 2d69431cd4..26aea141fe 100644 --- a/activesupport/test/inflector_test.rb +++ b/activesupport/test/inflector_test.rb @@ -128,6 +128,7 @@ class InflectorTest < Test::Unit::TestCase UnderscoreToHuman = { "employee_salary" => "Employee salary", + "employee_id" => "Employee", "underground" => "Underground" } |