Sha256: e2d8f68a96adea577710ec085396a8a1f8bb96895f28f2f9a6fa8fb2e8734716
Contents?: true
Size: 574 Bytes
Versions: 19
Compression:
Stored size: 574 Bytes
Contents
module SportsDb class Engine < Rails::Engine if Rails.env.development? config.to_prepare do Rails.logger.debug "*** reloading sports_db gem (only in development mode) ***" require_dependency SportsDb::Engine.root.join('lib', 'sports_db').to_s end config.after_initialize do # optional, without it will call `to_prepend` only when a file changes, # not on every request Rails.application.config.reload_classes_only_on_change = false end end end end
Version data entries
19 entries across 19 versions & 1 rubygems