aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-10-09 03:31:34 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-10-09 03:46:22 +0900
commita1ee4a9ff9d4a3cb255365310ead0dc7b739c6be (patch)
treed2ad6db8cfd9b65a6101e9a57b0c4269e36f648f /actionview/lib/action_view/helpers.rb
parent3882a4d0d475f1347a7dc3774e9285c80b1c8fe2 (diff)
downloadrails-a1ee4a9ff9d4a3cb255365310ead0dc7b739c6be.tar.gz
rails-a1ee4a9ff9d4a3cb255365310ead0dc7b739c6be.tar.bz2
rails-a1ee4a9ff9d4a3cb255365310ead0dc7b739c6be.zip
Call `define_attribute_methods` before `assert_no_queries` to address CI flakiness
Follow up 45be690f8e6db019aac6198ba49d608a2e14824b. 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`.
Diffstat (limited to 'actionview/lib/action_view/helpers.rb')
0 files changed, 0 insertions, 0 deletions