aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2011-10-20 17:10:46 +1100
committerRyan Bigg <radarlistener@gmail.com>2011-10-20 17:10:46 +1100
commit3e2d35b05006099163f6492019536bbfa1d82509 (patch)
tree83c6c436c20b6790216338b45b83b1d7111cb421
parent1cc6105d4dd088e3f2b8026e7e49f4e9d8d7d6ea (diff)
downloadrails-3e2d35b05006099163f6492019536bbfa1d82509.tar.gz
rails-3e2d35b05006099163f6492019536bbfa1d82509.tar.bz2
rails-3e2d35b05006099163f6492019536bbfa1d82509.zip
[engines guide] add missing end for to_s method
-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.