2020-05-24から1日間の記事一覧
以下のようにすると配列を含むパラメータを受け付けることができます。 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/