Rails Tip: Dynamic JSON fields Blog Post
json-array-fields-for
is a Rails 5.1.1 example application for demonstrating how to implement a form using a model that happens to have a JSON array column.
As usual do:
gem install bundler
bundle install
bundle exec rake db:create db:migrate
bundle exec rails server