We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f2b9fe commit 4f41c24Copy full SHA for 4f41c24
activerecord/test/cases/instrumentation_test.rb
@@ -44,6 +44,7 @@ def test_payload_name_on_update_all
44
end
45
46
def test_payload_name_on_eager_load
47
+ ActiveRecord::Base.schema_cache.add(Author.table_name)
48
notification = capture_notifications("sql.active_record") { Book.eager_load(:author).to_a }
49
assert_equal "Book Eager Load", notification.first.payload[:name]
50
0 commit comments