Sha256: 64cb7db1c1540fb21dcd3fd092d3925f55c5529c55be40e0bc5171f6e0cbe8a6

Contents?: true

Size: 380 Bytes

Versions: 9

Compression:

Stored size: 380 Bytes

Contents

Rails.application.configure do
    config.after_initialize do
        # In development be sure to load all the namespaces
        # in order to have working reflection
        Zeitwerk::Loader.eager_load_all if Rails.env.development?
        
        Ability.send(:include, ThecoreAuthCommonsCanCanCanConcern)
        User.send(:include, ThecoreAuthCommonsUserConcern)
    end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
thecore_auth_commons-3.2.2 config/initializers/after_initialize.rb
thecore_auth_commons-3.2.1 config/initializers/after_initialize.rb
thecore_auth_commons-3.1.7 config/initializers/after_initialize.rb
thecore_auth_commons-3.1.5 config/initializers/after_initialize.rb
thecore_auth_commons-3.1.4 config/initializers/after_initialize.rb
thecore_auth_commons-3.1.3 config/initializers/after_initialize.rb
thecore_auth_commons-3.1.2 config/initializers/after_initialize.rb
thecore_auth_commons-3.1.1 config/initializers/after_initialize.rb
thecore_auth_commons-3.1.0 config/initializers/after_initialize.rb