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
Ryuta Kamizono a1ee4a9ff9 Call define_attribute_methods before assert_no_queries to address CI flakiness
Follow up 45be690f8e.

Somehow calling `define_attribute_methods` in `build`/`new` sometimes
causes the `table_exists?` query.

To address CI flakiness due to `assert_no_queries` failure, ensure
`define_attribute_methods` before `assert_no_queries`.
2018-10-09 03:46:22 +09:00
..
active_record/connection_adapters Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
assets
cases Call define_attribute_methods before assert_no_queries to address CI flakiness 2018-10-09 03:46:22 +09: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