aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/erb/scaffold/templates/show.html.erb.tt
Commit message (Collapse)AuthorAgeFilesLines
* Show object ids in scaffold pages when displaying referenced objectsRasesh Patel2018-10-141-1/+1
| | | | | | | | | | | | Resolve Issue#29200 When scaffolding a model that references another model the generated show and index html pages display the object directly on the page. Basically, it just shows a memory address. That is not very helpful. In this commit we show the object's id rather than the memory address. This updates the scaffold templates and the json builder files.
* Use .tt extension to all the template filesRafael Mendonça França2017-11-131-0/+11
Make clear that the files are not to be run for interpreters. Fixes #23847. Fixes #30690. Closes #23878.