I'm kind of new to Rails 4. Right now, I'm using both strong params and "normal" params. By normal params I mean the params[:key]
which is not permitted.
For example:
Strong params:
def person_params
params.require(:person).permit(:name, :age)
end
And I use both person_params[:name]
and params[:key]
. Is this going to be problems in the future? what should I do.