Sha256: 41797d8a34b9b1cf425ef7188edaa88b359539bc35a257bdff0730eb00eac740

Contents?: true

Size: 327 Bytes

Versions: 20

Compression:

Stored size: 327 Bytes

Contents

# uncache Rails classes accessed by devise_for() calls in config/routes.rb
Devise.mappings.each_value do |mapping|
  ActiveSupport::Dependencies.remove_constant mapping.class_name
  ActiveSupport::Dependencies.loaded.delete ActiveSupport::Dependencies.
    search_for_file(mapping.class_name.underscore).gsub(/\.rb\z/, '')
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
tork-20.0.1 lib/tork/config/devise/onfork.rb
tork-20.0.0 lib/tork/config/devise/onfork.rb
tork-19.11.1 lib/tork/config/devise/onfork.rb
tork-19.10.0 lib/tork/config/devise/onfork.rb
tork-19.9.0 lib/tork/config/devise/onfork.rb
tork-19.8.2 lib/tork/config/devise/onfork.rb
tork-19.8.1 lib/tork/config/devise/onfork.rb
tork-19.8.0 lib/tork/config/devise/onfork.rb
tork-19.7.0 lib/tork/config/devise/onfork.rb
tork-19.6.1 lib/tork/config/devise/onfork.rb
tork-19.6.0 lib/tork/config/devise/onfork.rb
tork-19.5.1 lib/tork/config/devise/onfork.rb
tork-19.5.0 lib/tork/config/devise/onfork.rb
tork-19.4.0 lib/tork/config/devise/onfork.rb
tork-19.3.2 lib/tork/config/devise/onfork.rb
tork-19.3.1 lib/tork/config/devise/onfork.rb
tork-19.3.0 lib/tork/config/devise/onfork.rb
tork-19.2.2 lib/tork/config/devise/onfork.rb
tork-19.2.1 lib/tork/config/devise/onfork.rb
tork-19.2.0 lib/tork/config/devise/onfork.rb