Added a filter_attributes method to work with strong_parameters