app/controllers/badge_controller.rb
# Strong parameters checking for Badge creation & update
Strong parameters checking for Badge creation & update
Strong parameters checking for Badge creation & update
def badge_create_params
    params.permit(
      :team_id, :badge_id,
      :season_id, :swimmer_id,
      :number,
      :is_out_of_goggle_cup, :has_to_pay_fees, :has_to_pay_badge, :has_to_pay_relays
    )
  end
def badge_create_params params . permit ( :team_id , :badge_id , :season_id , :swimmer_id , :number , :is_out_of_goggle_cup , :has_to_pay_fees , :has_to_pay_badge , :has_to_pay_relays ) end
Strong parameters checking for Badge creation & update
Strong parameters checking for Badge creation & update