1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib
Rasesh Patel ecb2850a04 Show object ids in scaffold pages when displaying referenced objects
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.
2018-10-14 15:54:53 -04:00
..
minitest Allow use of minitest-rails gem with Rails test runner 2018-04-11 07:20:53 +09:00
rails Show object ids in scaffold pages when displaying referenced objects 2018-10-14 15:54:53 -04:00
rails.rb [Railties] require_relative => require 2017-10-21 22:48:26 +09:00