SyntaxFix
Write A Post
Hire A Developer
Questions
It should be like
params.permit(:id => [])
Also since rails version 4+ you can use:
params.permit(id: [])