aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_handling.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix error raised when handler doesn't existEileen Uchitelle2019-01-251-4/+0
* Raise helpful error when role doesn't existEileen Uchitelle2018-12-211-0/+4
* Add AR::Base.connected_to?John Hawthorn2018-12-111-0/+23
* Exercise `connected_to` and `connects_to` methodsbogdanvlviv2018-11-151-1/+1
* Fix "warning: shadowing outer local variable - role"Ryuta Kamizono2018-10-311-9/+13
* Add support for hash and url configs in connected_toGannon McGibbon2018-10-261-6/+9
* Basic API for connection switchingEileen Uchitelle2018-10-101-1/+96
* Refactors Active Record connection managementEileen Uchitelle2018-08-301-34/+7
* Fix connection handling with three-tier configeileencodes2018-03-161-0/+4
* Flush idle database connectionsMatthew Draper2017-11-261-1/+1
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* `DEFAULT_ENV` falls back to `default_env` when `RAILS_ENV` or `RACK_ENV` is a...Ryuta Kamizono2017-05-251-1/+1
* fixes remaining RuboCop issues [Vipul A M, Xavier Noria]Xavier Noria2016-09-011-1/+1
* modernizes hash syntax in activerecordXavier Noria2016-08-061-1/+1
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-1/+1
* Remove unused `ActiveRecord::Base.connection_id`Sean Griffin2016-06-291-8/+0
* [ci skip] fix typo in ActiveRecord::ConnectionHandlingAlex Kitchens2016-06-201-1/+1
* Remove `name` from `establish_connection`Arthur Neves2016-05-241-1/+6
* Move establish_connection to handlerArthur Neves2016-05-241-13/+5
* remove_connection should not remove parent connectionArthur Neves2016-05-111-1/+2
* Merge pull request #24971 from arthurnn/arthurnn/dont_cache_specification_nameArthur Nogueira Neves2016-05-111-1/+1
|\
| * Dont cache the conn_spec_name when emptyArthur Neves2016-05-111-1/+1
* | Set conn_spec_name after removeArthur Neves2016-05-111-2/+2
|/
* Make sure we reset the connection_specification_name onArthur Neves2016-05-101-1/+8
* Followup to #24844Jon Moss2016-05-071-3/+2
* s/specification_name/connection_specification_nameArthur Neves2016-05-061-10/+10
* s/specification_id/specification_nameArthur Neves2016-05-051-11/+11
* Better code readabilityArthur Neves2016-05-051-3/+1
* Better specification_id methodArthur Neves2016-05-051-10/+7
* Rename methodArthur Neves2016-05-051-3/+3
* Refactor connection handlerArthur Neves2016-05-051-7/+27
* Remove legacy mysql adapterRyuta Kamizono2015-12-211-1/+1
* applies new doc guidelines to Active Record.Yves Senn2015-10-141-3/+3
* Improve readability of docs by using code tag [ci skip]Prakash Laxkar2015-09-291-1/+1
* AR::ConPool - remove synchronization around connection cache.thedarkone2015-05-141-1/+1
* Revert "Merge pull request #19404 from dmathieu/remove_rack_env"Jeremy Kemper2015-03-201-1/+1
* don't fallback to RACK_ENV when RAILS_ENV is not presentDamien Mathieu2015-03-191-1/+1
* Spell PostgreSQL correctly :elephant:Akira Matsuda2015-02-281-1/+1
* Check for Rails.env instead of RailsPavel Penkov2014-12-251-1/+1
* If Rails is not defined, check ENV["RAILS_ENV"] and ENV["RACK_ENV"].Keith Gable2014-10-211-1/+1
* Don't deprecate after allMatthew Draper2014-04-091-16/+2
* Less ambition, more deprecationMatthew Draper2014-04-091-16/+16
* Rearrange the config merger some moreMatthew Draper2014-04-081-19/+16
* entry is always a HashRafael Mendonça França2014-04-081-1/+1
* Check env_url only onceRafael Mendonça França2014-04-081-2/+7
* Only call DEFAULT_ENV proc one timeRafael Mendonça França2014-04-081-2/+5
* Make sure DEFAULT_URL only override current environment databaseRafael Mendonça França2014-04-081-1/+1
* Only apply DATABASE_URL for Rails.envMatthew Draper2014-04-081-28/+14