search for: fianet_ord

Displaying 1 result from an estimated 1 matches for "fianet_ord".

Did you mean: fianet_order
2011 Dec 22
0
Problems with database config and prepare_to method
...) It is strange that he is not connecting to the database specified in the database.yml file. After some research I figured out that one of my custom plugins is causing the problem. The problem is comming from the initializer of the plugin where I do : require "#{File.dirname(__FILE__)}/lib/fianet_order" config.to_prepare do if AppConfig.fianet.enabled load_fianet end end We need to use the config.to_prepare because we want that it only loads 1 time when it is the production environment and reload everytime in development mode. In load_fianet we do a class_...