Skip to content
This repository
Browse code

fixes typo in previous (pushed) commit

  • Loading branch information...
commit dd44bce2656839250d186fee6528ba1aea8ad6c5 1 parent f23fc58
Xavier Noria fxn authored
2  railties/guides/source/active_support_overview.textile
Source Rendered
@@ -725,7 +725,7 @@ If strings do not respond to those methods Active Support emulates them, and als
725 725 "foo".ends_with?("o") # => true
726 726 </ruby>
727 727
728   -in case you feel more confortable spelling them that way.
  728 +in case you feel more comfortable spelling them that way.
729 729
730 730 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.
731 731

0 comments on commit dd44bce

Please sign in to comment.
Something went wrong with that request. Please try again.