I came across the following in some Rails legacy code:
params.permit(:a_key).except(:a_key)
It seems to me that this would produce a null hash every time. Am I missing something? I'm very much a non-expert in Rails, so help would be appreciated.
I came across the following in some Rails legacy code:
params.permit(:a_key).except(:a_key)
It seems to me that this would produce a null hash every time. Am I missing something? I'm very much a non-expert in Rails, so help would be appreciated.
Copyright © 2021 Jogjafile Inc.