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

Code Example 1

hash = { a: true, b: false, c: nil }
hash.except(:c)     # => { a: true, b: false }
hash.except(:a, :b) # => { c: nil }
hash                # => { a: true, b: false, c: nil }

params_to_remove_array = [ :b, :c ]
params.except(*params_to_remove_array) # => { a: true }

Code Example 2

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

Learn ReactJs, React Native from akashmittal.com