Skip to content

Commit

Permalink
AS guide: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed Jun 13, 2009
1 parent 8ac17e6 commit 74e8730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/guides/source/active_support_overview.textile
Expand Up @@ -112,7 +112,7 @@ The return value of +to_param+ should *not* be escaped:
"Tom & Jerry".to_param # => "Tom & Jerry" "Tom & Jerry".to_param # => "Tom & Jerry"
</ruby> </ruby>


Several classes in Rails overwrite these method. Several classes in Rails overwrite this method.


For example +nil+, +true+, and +false+ return themselves. +Array#to_param+ calls +to_param+ on the elements and joins the result with "/": For example +nil+, +true+, and +false+ return themselves. +Array#to_param+ calls +to_param+ on the elements and joins the result with "/":


Expand Down

0 comments on commit 74e8730

Please sign in to comment.