Searched refs:klass (Results 1 - 13 of 13) sorted by relevance
/ontohub/app/helpers/ |
H A D | ontology_search_helper.rb | 2 def render_filter(klass, include_blank = '', selected_key: nil) 3 name = klass.name.underscore.to_sym 6 filter: filter_list_for(klass), 11 def filter_list_for(klass) 13 klass.not_empty.where(ontologies: {repository_id: @repository_id}) 15 klass.not_empty
|
H A D | proofs_helper.rb | 8 def klass method in class:ProofsHelper 9 t("proofs.new.klass.#{resource.proof_obligation.class.to_s.underscore}")
|
H A D | state_helper.rb | 36 klass: resource.class.to_s,
|
/ontohub/lib/ |
H A D | migration_with_data.rb | 15 def select_attributes_class(klass, search_value, *keys, search_column: :id) 17 klass.where(search_column => search_value).pluck(key).first 24 klass = record.class 25 skip_all_callbacks(klass) 27 set_all_callbacks(klass) 46 def skip_all_callbacks(klass) 48 klass.send("_#{name}_callbacks").each do |_callback| 50 klass.skip_callback(name, _callback.kind, _callback.filter) 56 def set_all_callbacks(klass) 58 klass [all...] |
H A D | action_worker.rb | 4 def perform(action_id, klass, method, *args) 7 action.resource = klass.constantize.send(method, *args)
|
H A D | rake_helper.rb | 86 def self.update_or_create_by_name(klass, h) 87 x = klass.find_by_name(h[:name]) 89 x = klass.create!(h)
|
H A D | graph_data_fetcher.rb | 20 def self.mapping_for(klass) 21 mapping_klass = MAPPINGS[klass]
|
/ontohub/db/migrate/ |
H A D | 20160310132620_move_loc_id_to_own_model.rb | 14 CLASSES.each do |klass| 15 klass.find_each do |object| 22 class: normalized_class(klass)} 25 specific_type: normalized_class(klass).to_s) 46 def normalized_class(klass) 48 if [DistributedOntology, SingleOntology].include?(klass) 51 klass
|
/ontohub/db/data/ |
H A D | 20160310132620_move_loc_id_to_own_model_data.rb | 29 klass = duplicate[:class] 30 if klass == Ontology || Ontology.subclasses.include?(klass) 38 klass.find(duplicate[:id]).ontology
|
H A D | 20160719133546_preload_locids.rb | 9 klass = object.class.to_s 11 loc_id.specific_type = klass
|
/ontohub/app/models/ |
H A D | action.rb | 8 def self.enclose!(initial_eta, klass, method, *args) 10 ActionWorker.perform_async(action.id, klass.to_s, method, *args)
|
H A D | proof_attempt.rb | 47 klass = self.class.to_s.underscore.dasherize 48 "#{theorem.locid}#{sep}#{klass}-#{number}"
|
/ontohub/features/step_definitions/ |
H A D | ontology_versions_steps.rb | 23 selector = %(.evaluation-state[data-id="#{id}"][data-klass="OntologyVersion"])
|
Completed in 18 milliseconds