Sha256: 2d07bc55f2763364b8f9497a18f4e5d6faa588a6f36deba5402a2b7fe92a67c9
Contents?: true
Size: 765 Bytes
Versions: 12
Compression:
Stored size: 765 Bytes
Contents
# Exception raised when a `Rails::Engine` has left its `'app/concerns'` path as `eager_load: true` class Metasploit::Concern::Error::EagerLoad < Metasploit::Concern::Error::Base # @param engine [Rails::Engine] `Rails::Engine` where `engine.paths['app/concerns'].eager_load?` is `true`. def initialize(engine) @engine = engine super( "#{engine}'s `app/concerns` is marked as `eager_load: true`. This will cause circular dependency " \ "errors when the concerns are loaded. Declare `app/concerns` to stop it from inheriting `eager_load: true` " \ "from `app`: \n" \ "\n" \ " class #{engine} < Rails::Engine\n" \ " config.paths.add 'app/concerns', autoload: true\n" \ " end\n" ) end end
Version data entries
12 entries across 12 versions & 1 rubygems