以下のようにすると配列を含むパラメータを受け付けることができます。
def user_params params.permit(user_ids: []) end
参考 https://teratail.com/questions/154278 https://www.techscore.com/tech/Ruby/rails-4.0/strong-parameters/
以下のようにすると配列を含むパラメータを受け付けることができます。
def user_params params.permit(user_ids: []) end
参考 https://teratail.com/questions/154278 https://www.techscore.com/tech/Ruby/rails-4.0/strong-parameters/