Permalink
Browse files

AS guide: documents where output safety is defined

  • Loading branch information...
1 parent 7cb459e commit dcfc3b3733d30e8998c2e357f92dbeef5ca77003 @fxn fxn committed Feb 6, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 railties/guides/source/active_support_core_extensions.textile
@@ -701,6 +701,8 @@ def raw(stringish)
end
</ruby>
+NOTE: Defined in +active_support/core_ext/string/output_safety.rb+.
+
h4. +squish+
The method +String#squish+ strips leading and trailing whitespace, and substitutes runs of whitespace with a single space each:

0 comments on commit dcfc3b3

Please sign in to comment.