axiom_selection.rb revision 9a7c68181005da4f383c480bffd00fca45afb5a1
class_name: 'Axiom',
association_foreign_key: 'sentence_id',
join_table: "axioms_axiom_selections"
self.finished = false
end
# overwrite this in the "subclasses"
end
@ontology ||= goal.ontology
end
end
# This key is used for mutex locking: The selection only has to be done once,
# but many jobs may call it in parallel.
"#{self.class.to_s.underscore.dasherize}-#{id}"
end
self.finished = true
save!
end
end