Sha256: 1c5dc7ea1b73865564c2a62b314769dc1544a2051194604e276e7bed26a513f6
Contents?: true
Size: 505 Bytes
Versions: 1
Compression:
Stored size: 505 Bytes
Contents
class Verdict::Railtie < Rails::Railtie initializer "experiments.configure_rails_initialization" do |app| Verdict.default_logger = Rails.logger Verdict.directory = Rails.root.join('app', 'experiments') app.config.eager_load_paths -= [Verdict.directory.to_s] # Re-freeze eager load paths to ensure they blow up if modified at runtime, as Rails does app.config.eager_load_paths.freeze end rake_tasks do load File.expand_path("./tasks.rake", File.dirname(__FILE__)) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
verdict-0.6.1 | lib/verdict/railtie.rb |