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
bogdanvlviv 7e7a6a351c
Exercise stringify of database configurations
Since #33968 we stringify keys of database configuration
This commit adds more assertions in order to ensure that and prevent any
regression in the future.
Currently, if remove `to_s` added in #33968 from `env_name.to_s` on the
line
(activerecord/lib/active_record/database_configurations.rb:107), there is
no test that would fail. One of the added assertions should emphasize why we need
this `to_s`.

Follow up #33968
2018-10-05 14:42:15 +03:00
..
active_record/connection_adapters Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
assets
cases Exercise stringify of database configurations 2018-10-05 14:42:15 +03:00
fixtures Eager loading/preloading should be worked regardless of large number of records 2018-09-12 01:11:38 +09:00
migrations Fix occurrences Fixnum|Bignum 2018-03-04 20:44:30 +02:00
models Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
schema Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
support Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
config.example.yml Use utf8mb4 character set by default for MySQL database (#33608) 2018-09-11 13:03:34 -07:00
config.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00