Displaying 1 result from an estimated 1 matches for "6xk4g2".
Did you mean:
6x4g
2008 May 04
3
Rails Configuration in Workers
I override some Rails'' configuration options in my project, like:
config.database_configuration_file = "#{RAILS_ROOT}/local/config/
database.yml"
But they aren''t picked up in BackgroundRB because Rails ActiveRecord
is just initialized directly in MasterWorker#load_rails_env:
db_config_file = YAML.load(ERB.new(IO.read("#{RAILS_HOME}/