module Muchkeys class Rails < Rails::Railtie config.before_configuration do Muchkeys.configure_from_yaml(::Rails.root.join("config", "muchkeys.yml")) Muchkeys.populate_environment!(*Muchkeys.env_keys) end end end