Use strong_parameters with decent_exposure in the scaffold generators