Permalink
Browse files

[engines guide] add missing end for to_s method

  • Loading branch information...
1 parent 1cc6105 commit 3e2d35b05006099163f6492019536bbfa1d82509 @radar radar committed Oct 20, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/guides/source/engines.textile
@@ -493,6 +493,7 @@ This is undesirable and it would be much better to have the user's name there. T
<ruby>
def to_s
name
+end
</ruby>
Now instead of the ugly Ruby object output the author's name will be displayed.

0 comments on commit 3e2d35b

Please sign in to comment.