projects/backbone/app/controllers/command_events_controller.rb
# Only allow a list of trusted parameters through.
Only allow a list of trusted parameters through.
Only allow a list of trusted parameters through .
def command_event_params
      params.require(:command_event).permit(
        :name,
        :subcommand,
        :duration,
        :client_id,
        :tuist_version,
        :swift_version,
        :macos_version,
        :machine_hardware_name,
        :is_ci,
        params: {} 
      )
    end
def command_event_params params . require ( :command_event ) . permit ( :name , :subcommand , :duration , :client_id , :tuist_version , :swift_version , :macos_version , :machine_hardware_name , :is_ci , params : { } ) end
Only allow a list of trusted parameters through.
Only allow a list of trusted parameters through .
# Allow any key inside the params JSON