Check out example codes for "rails keep all params except for some". It will help you in understanding the concepts better.

Code Example 1

params.require(:shoes).except!(:shoes_id).permit!

Learn ReactJs, React Native from akashmittal.com