diff options
author | Xavier Noria <fxn@hashref.com> | 2009-08-23 15:06:36 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2009-08-23 15:06:36 +0200 |
commit | dd44bce2656839250d186fee6528ba1aea8ad6c5 (patch) | |
tree | c1f1d3b113a4ffe2437ba3522e18d2702e2a70db /railties/guides/source/active_support_overview.textile | |
parent | f23fc5861fbc32bbe467f22ca4211f332f570ca6 (diff) | |
download | rails-dd44bce2656839250d186fee6528ba1aea8ad6c5.tar.gz rails-dd44bce2656839250d186fee6528ba1aea8ad6c5.tar.bz2 rails-dd44bce2656839250d186fee6528ba1aea8ad6c5.zip |
fixes typo in previous (pushed) commit
Diffstat (limited to 'railties/guides/source/active_support_overview.textile')
-rw-r--r-- | railties/guides/source/active_support_overview.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_support_overview.textile b/railties/guides/source/active_support_overview.textile index 392e9388df..ae25438825 100644 --- a/railties/guides/source/active_support_overview.textile +++ b/railties/guides/source/active_support_overview.textile @@ -725,7 +725,7 @@ If strings do not respond to those methods Active Support emulates them, and als "foo".ends_with?("o") # => true </ruby> -in case you feel more confortable spelling them that way. +in case you feel more comfortable spelling them that way. WARNING. Active Support invokes +to_s+ on the argument, but Ruby does not. Since Active Support defines these methods only if strings do not respond to them, this corner of their behaviour depends on the interpreter that runs a given Rails application. You change the interpreter, and +start_with?(1)+ may change its return value. In consequence, it's more portable not to rely on that and pass always strings. |