I do not want to go to a separate new page.
There is nothing stopping you showing a form for entering a new record
on the same page as the index. The view erb file merely has to show
the form and the index. Use partials for the two sections so you can
use the same partials individually if you want just one or the other.
There is nothing stopping you showing a form for entering a new record
on the same page as the index. The view erb file merely has to show
the form and the index. Use partials for the two sections so you can
use the same partials individually if you want just one or the other.