Please do bear with me as I am a newbie.
I have an index params from a form with 5 fields of the same name.
Most of the times all these fields will not be filled.
Is there a way to clean the params before we do anything with it?
For example is there a way to do something like this.
I am purely guessing here.
params[:participant].delete(:participant_name => “”)
Please advice. Or some link that I can learn more from.
Did try googling and failed to find anything useful.