replaced settings for FOG -> hash
Yet another replaced settings rails_config
Yet another replaced settings rails_config 2
fix bugs for migration
3 try for fix migration