Updates ActionParameter#permitted_params_class

Fixes minor bug when class_name is nil