diff options
author | Tim Sjoberg <bedlamp@gmail.com> | 2011-12-01 14:27:51 +0200 |
---|---|---|
committer | Tim Sjoberg <bedlamp@gmail.com> | 2011-12-01 14:27:51 +0200 |
commit | bb2adab79bd0fb039a368b424a3bc97bac073265 (patch) | |
tree | d84496e4b3d9578375fc5f04c5e1dcf7345b6020 /railties/guides/source/active_support_core_extensions.textile | |
parent | fca655f391953a1ba02988cb8e74913d4efbcd3a (diff) | |
download | rails-bb2adab79bd0fb039a368b424a3bc97bac073265.tar.gz rails-bb2adab79bd0fb039a368b424a3bc97bac073265.tar.bz2 rails-bb2adab79bd0fb039a368b424a3bc97bac073265.zip |
fixed finger-dyslexia in active_support core extensions guide
Diffstat (limited to 'railties/guides/source/active_support_core_extensions.textile')
-rw-r--r-- | railties/guides/source/active_support_core_extensions.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile index 7959a88c5b..fbccff5005 100644 --- a/railties/guides/source/active_support_core_extensions.textile +++ b/railties/guides/source/active_support_core_extensions.textile @@ -1301,7 +1301,7 @@ NOTE: Defined in +active_support/core_ext/string/output_safety.rb+. h5. Transformation -As a rule of thumb, except perhaps for concatenation as explained above, any method that may change a string gives you an unsafe string. These are +donwcase+, +gsub+, +strip+, +chomp+, +underscore+, etc. +As a rule of thumb, except perhaps for concatenation as explained above, any method that may change a string gives you an unsafe string. These are +downcase+, +gsub+, +strip+, +chomp+, +underscore+, etc. In the case of in-place transformations like +gsub!+ the receiver itself becomes unsafe. |