mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
[engines guide] add missing end for to_s method
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user