Skip to content

Instantly share code, notes, and snippets.

@apolzon
Created September 19, 2013 22:35
Show Gist options
  • Save apolzon/6630803 to your computer and use it in GitHub Desktop.
Save apolzon/6630803 to your computer and use it in GitHub Desktop.
module HuntersAlley::Core
class Application < Rails::Application
console do
ActiveRecord::Base.default_timezone = :utc
# ActiveRecord::Base.logger = Base.logger
ActiveRecord::Base.configurations = { HuntersAlley.env => Rails.configuration.database_configuration[HuntersAlley.env] }
ActiveRecord::Base.establish_connection(HuntersAlley.env)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment