Searched refs:destroy (Results 1 - 25 of 80) sorted by relevance

1234

/ontohub/app/models/
H A Daxiom.rb2 has_many :sine_symbol_axiom_triggers, dependent: :destroy
H A Dability.rb41 can [:update, :destroy, :permissions], Repository do |subject|
51 can [:destroy, :permissions], Logic do |subject|
59 can [:destroy, :permissions], LogicMapping do |subject|
68 can [:destroy, :permissions], LanguageMapping do |subject|
77 can [:destroy, :permissions], LogicAdjoint do |subject|
86 can [:destroy, :permissions], LanguageAdjoint do |subject|
95 can [:destroy, :permissions], Language do |subject|
101 can [:create, :destroy, :update], Serialization
105 can [:update, :destroy], Team do |subject|
111 can [:destroy], Commen
[all...]
H A Dproof_attempt.rb10 belongs_to :proof_attempt_configuration, dependent: :destroy
12 has_one :prover_output, dependent: :destroy
13 has_one :tactic_script, dependent: :destroy
14 has_many :generated_axioms, dependent: :destroy
H A Daxiom_selection.rb8 has_many :proof_attempt_configurations, dependent: :destroy
H A Dsentence.rb7 has_many :translated_sentences, dependent: :destroy
/ontohub/app/controllers/
H A Dadjoints_controller.rb11 def destroy method in class:AdjointsController
12 destroy! do |format|
H A Dgeneral_mappings_controller.rb10 def destroy method in class:GeneralMappingsController
11 destroy! do |format|
H A Dkeys_controller.rb7 actions :index, :new, :create, :destroy
H A Dprojects_controller.rb23 def destroy method in class:ProjectsController
24 destroy! do |success, failure|
H A Dtasks_controller.rb22 def destroy method in class:TasksController
23 destroy! do |success, failure|
H A Durl_maps_controller.rb16 def destroy method in class:UrlMapsController
17 destroy! { repository_url_maps_path(repository) }
H A Dpermissions_controller.rb8 def destroy method in class:PermissionsController
9 destroy! do
H A Dformality_levels_controller.rb25 def destroy method in class:FormalityLevelsController
26 destroy! do |success, failure|
H A Dlicense_models_controller.rb26 def destroy method in class:LicenseModelsController
27 destroy! do |success, failure|
/ontohub/app/models/repository/
H A Dassociations_and_attributes.rb5 has_many :ontologies, dependent: :destroy
7 has_many :url_maps, dependent: :destroy
8 has_many :commits, dependent: :destroy
9 has_many :access_tokens, dependent: :destroy
/ontohub/lib/
H A Drepository_deletion_worker.rb5 Repository.destroying.find(id).destroy
/ontohub/app/models/ontology/
H A Dassociations_and_attributes.rb18 has_many :alternative_iris, dependent: :destroy
20 class_name: 'Mapping', foreign_key: 'source_id', dependent: :destroy
22 class_name: 'Mapping', foreign_key: 'target_id', dependent: :destroy
29 dependent: :destroy
34 dependent: :destroy
39 dependent: :destroy
44 dependent: :destroy
/ontohub/app/controllers/polymorphic_resource/
H A Dbase.rb25 def destroy method in class:PolymorphicResource
26 authorize! :destroy, resource
27 resource.destroy
/ontohub/app/controllers/privilege_list/
H A Dbase.rb7 actions :index, :create, :update, :destroy, :show
28 def destroy method in class:PrivilegeList
29 resource.destroy
/ontohub/app/models/ontology_version/
H A Doops_requests.rb15 request.try(:destroy)
/ontohub/spec/models/
H A Dability_spec.rb33 %i(edit update destroy write).each do |perm|
49 %i(edit update destroy write).each do |perm|
68 it 'be allowed: edit, update, destroy, permissions, write' do
69 %i(show edit update destroy permissions).each do |perm|
74 it 'not be allowed on other: edit, update, destroy, permissions' do
75 %i(edit update destroy permissions).each do |perm|
90 it 'not be allowed: edit, update, destroy, permissions' do
91 %i(edit update destroy permissions).each do |perm|
242 it 'be allowed: edit, update, destroy' do
243 %i(edit update destroy)
[all...]
H A Dteam_user_spec.rb31 expect(non_admim_user.destroy).to be_truthy
34 it 'not destroy the last admin' do
35 expect { admin_user.destroy }.
/ontohub/spec/models/repository/
H A Dsymlinks_spec.rb15 context 'repository destroy' do
16 before { repository.destroy }
66 context 'repository destroy' do
67 before { repository.destroy }
84 context 'repository destroy' do
85 before { repository.destroy }
/ontohub/spec/routing/admin/
H A Dusers_routing_spec.rb36 controller: :'admin/users', action: :destroy, id: 123)
/ontohub/spec/routing/
H A Dpermissions_routing_spec.rb24 controller: :permissions, action: :destroy,

Completed in 1770 milliseconds

1234