In create method in controller i have:

```
def create
      @monitoring_group = MonitoringGroup.new(monitoring_group_params)
        if @monitoring_group.save
          payload = {
              value: @monitoring_groups,
              status: 201
          }
          render json: @monitoring_group, status: :created#, location: @monitoring_group
        else
          payload = {
              error: "One or more monitorings do not belong to this account",
              status: 400
          }
          render :json => payload, :status => :bad_request
        end
    end

```

And

```
 def monitoring_group_params
   params.require(:monitoring_groups).permit(:name, monitoring: [])
 end

```

I have the answer when i run the create

```
> #<ActionController::ParameterMissing: param is missing or the value is empty: monitoring_groups>

```

What i do to this create ?