This gem will help you to create an advanced CRUD.
Once you install this application, you can try to create a form;
$ rails console
> rsaucecrud('Namespace', 'Controller', 'Model', [:field_a, :field_b, :field_c])
Example;
$ rails console
> rsaucecrud('Patient', 'Symptoms', 'Symptom', Symptom.colum_names)
Add this line to your application's Gemfile:
gem 'rsaucecrud', git: 'https://github.com/nitzaalfinas/rsaucecrud.git'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rsaucecrud
Contribution directions go here.
The gem is available as open source under the terms of the MIT License.