Skip to content

Commit

Permalink
Remove ActiveSupport::Dependencies.reference
Browse files Browse the repository at this point in the history
This was deleted from Rails: rails/rails@14d4edd

As far as I can tell, it was meant to add a performance boost at some point in the past but doesn't seem to do anything useful these days.

cc @fxn
  • Loading branch information
ghiculescu authored Mar 11, 2021
1 parent 0cd72a5 commit d1e8bb5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/devise.rb
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ def get
end

def self.ref(arg)
ActiveSupport::Dependencies.reference(arg)
Getter.new(arg)
end

Expand Down

0 comments on commit d1e8bb5

Please sign in to comment.