using strong parameter in rails 4

I have been trying to use it with rails4.
I was getting ActiveModel::ForbiddenAttributes because some codes wasn't supporting strong parameter in rails 4.
I added some code for it.