this is an example of dynamic form in rails 5.2 and ruby 2.3.1.
This README would normally document whatever steps are necessary to get the
application up and running.
Things you may want to cover:
Ruby version
ruby ‘2.3.1’
Rails version
rails ‘5.2.0’
Description:
it is a simple example of complex or nested fields, most of the time we need the sample code instead of searching web. so i made this sample code to help.