Permalink
Browse files

minor example fix for Rails 3

  • Loading branch information...
1 parent cc3d6a8 commit eaad8610eea6efdd19124e965e43599811e665eb @vijaydev vijaydev committed Dec 19, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/guides/source/api_documentation_guidelines.textile
@@ -46,10 +46,10 @@ Short docs do not need an explicit "Examples" label to introduce snippets, they
# Converts a collection of elements into a formatted string by calling
# <tt>to_s</tt> on all elements and joining them.
#
-# Blog.find(:all).to_formatted_s # => "First PostSecond PostThird Post"
+# Blog.all.to_formatted_s # => "First PostSecond PostThird Post"
</ruby>
-On the other hand big chunks of structured documentation may have a separate "Examples" section:
+On the other hand, big chunks of structured documentation may have a separate "Examples" section:
<ruby>
# ==== Examples

0 comments on commit eaad861

Please sign in to comment.