remove settingslogic and use rails_config