how can i whitelist params when used with constantize?

x = "SomeClass"
>> how can i get the params whitelisted? thank you!

This shouldn't make any difference to how you whitelist the params - what problems are you having?


the problem is my update method:



param not found: employer (@rec is the record to be updated)

and here is the params hash:

"created_at"=>"2015-04-21 13:48:17 UTC",
"updated_at"=>"2015-04-21 13:48:17 UTC",
"address_2"=>"", .........