aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/engines.textile1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/guides/source/engines.textile b/railties/guides/source/engines.textile
index f0d8f1a165..5a12896b8e 100644
--- a/railties/guides/source/engines.textile
+++ b/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.