Move flattened_active_model_error to Base