app/controllers/collection_profiles_controller.rb
def collection_profile_params
    params.require(:collection_profile).permit(:container_id, :otu_id, :conservation_status, :processing_state,
                                               :container_condition, :condition_of_labels, :identification_level,
                                               :arrangement_level, :data_quality, :computerization_level,
                                               :number_of_collection_objects, :number_of_containers, :collection_type, :force_update
    )
  end
# Never trust parameters from the scary internet, only allow the white list through.
Never trust parameters from the scary internet, only allow the white list through.
Never trust parameters from the scary internet only allow the white list through .
def collection_profile_params
    params.require(:collection_profile).permit(:container_id, :otu_id, :conservation_status, :processing_state,
                                               :container_condition, :condition_of_labels, :identification_level,
                                               :arrangement_level, :data_quality, :computerization_level,
                                               :number_of_collection_objects, :number_of_containers, :collection_type, :force_update
    )
  end
def collection_profile_params params . require ( :collection_profile ) . permit ( :container_id , :otu_id , :conservation_status , :processing_state , :container_condition , :condition_of_labels , :identification_level , :arrangement_level , :data_quality , :computerization_level , :number_of_collection_objects , :number_of_containers , :collection_type , :force_update ) end
Never trust parameters from the scary internet, only allow the white list through.
Never trust parameters from the scary internet only allow the white list through .