1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test
John Crepezzi e47f0da77b Fix error message for AdapterNotFound in spec
When this case was his previously, an error would be thrown like:
`<NoMethodError: "undefined method config for...">` because we were
erroneously calling `config` on a `Hash`.

This commit adds a test for this case, and fixes the hash access.
2019-09-12 09:59:03 -04:00
..
active_record/connection_adapters Deduplicate various Active Record schema cache structures 2019-06-03 13:31:42 +02:00
assets
cases Fix error message for AdapterNotFound in spec 2019-09-12 09:59:03 -04:00
fixtures Fix docs to replace http with https in activerecord [ci skip] 2019-08-26 22:34:33 +09:00
migrations
models Ensure custom PK types are casted in through reflection queries 2019-08-07 16:27:33 -04:00
schema Polymorphic has_one touch: Reset association cache result after create transaction 2019-07-31 05:59:23 +02:00
support Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
config.example.yml
config.rb