app/controllers/api/v1/passages_controller.rb
# Strong parameters checking for mass-assignment of a Passage instance.
# Returns the whitelisted, filtered params Hash.
Strong parameters checking for mass-assignment of a Passage instance.
Returns the whitelisted, filtered params Hash.
Strong parameters checking for mass - assignment of a Passage instance . Returns the whitelisted filtered params Hash .
def passage_params
    params
      .require( :passage )
      .permit(
        :user_id,
        :passage_type_id,
        :swimmer_id,
        :team_id,
        :meeting_program_id,
        :meeting_entry_id,
        :meeting_individual_result_id,
        :minutes_from_start, :seconds_from_start, :hundreds_from_start,
        :is_native_from_start,
        :reaction_time, :position,
        :minutes, :seconds, :hundreds,
        :breath_number, :stroke_cycles,
        :not_swam_part_seconds,
        :not_swam_part_hundreds,
        :not_swam_kick_number
      )
  end
def passage_params params . require ( :passage ) . permit ( :user_id , :passage_type_id , :swimmer_id , :team_id , :meeting_program_id , :meeting_entry_id , :meeting_individual_result_id , :minutes_from_start , :seconds_from_start , :hundreds_from_start , :is_native_from_start , :reaction_time , :position , :minutes , :seconds , :hundreds , :breath_number , :stroke_cycles , :not_swam_part_seconds , :not_swam_part_hundreds , :not_swam_kick_number ) end
Strong parameters checking for mass-assignment of a Passage instance.
Strong parameters checking for mass - assignment of a Passage instance .