Updating for removal of the whitelist support in rails 4.0