Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
antonsavitskiy committed May 6, 2024
1 parent 0d756d0 commit 2779483
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1,387 deletions.
2 changes: 0 additions & 2 deletions lib/mongoid/association/depending.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,7 @@ def _dependent_destroy!(association)
end

def _dependent_nullify!(association)
# require 'pry'; binding.pry
return unless (relation = send(association.name))
# require 'pry'; binding.pry

relation.nullify
end
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# frozen_string_literal: true

require 'spec_helper'
require_relative './has_many_models'
require_relative './has_one_models'
require_relative './referenced/has_many_models'
require_relative './referenced/has_one_models'

describe Mongoid::Association::Referenced::AutoSave do

Expand Down
Loading

0 comments on commit 2779483

Please sign in to comment.