Sha256: e0b59aa02a53b28613d7fd109295c3d3b62dd34193630ae92d3d6e5bc2762070

Contents?: true

Size: 708 Bytes

Versions: 10

Compression:

Stored size: 708 Bytes

Contents

Rails.application.configure do
    # I18n
    config.i18n.available_locales = %w(it en)
    config.i18n.default_locale = :it
    config.time_zone = 'Rome'
    # Active Storage
    config.active_storage.configure(
        :Disk,
        root: Rails.root.join("storage")
    )
    # AFTER INITIALIZE Good place to load things that must have a bit of initialization 
    # setup on order to work (and not be overrided).    
    config.after_initialize do
        # include the extensions
        ActiveRecord::Base.send(:include, ActiveRecordExtensions)
        Integer.send(:include, FixnumConcern)
        String.send(:include, StringConcern)
        User.send(:include, ThecoreBackendCommonsUser)
    end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
thecore_backend_commons-2.3.6 config/initializers/thecore_backend_commons_app_configs.rb
thecore_backend_commons-2.3.5 config/initializers/thecore_backend_commons_app_configs.rb
thecore_backend_commons-2.3.4 config/initializers/thecore_backend_commons_app_configs.rb
thecore_backend_commons-2.3.3 config/initializers/thecore_backend_commons_app_configs.rb
thecore_backend_commons-2.3.2 config/initializers/thecore_backend_commons_app_configs.rb
thecore_backend_commons-2.3.1 config/initializers/thecore_backend_commons_app_configs.rb
thecore_backend_commons-2.3.0 config/initializers/thecore_backend_commons_app_configs.rb
thecore_backend_commons-2.2.8 config/initializers/thecore_backend_commons_app_configs.rb
thecore_backend_commons-2.2.7 config/initializers/thecore_backend_commons_app_configs.rb
thecore_backend_commons-2.2.6 config/initializers/thecore_backend_commons_app_configs.rb