Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jrothrock committed Jan 24, 2024
1 parent 49c6573 commit 4bbfe82
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/scout_apm/instruments/action_view.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ def install_using_prepend
end
end

# In Rails 6.1 collection was moved to CollectionRender.

# In Rails 6.1 collection was moved to CollectionRenderer.
module ActionViewCollectionRendererInstruments
def render_collection(*args, **kwargs)
req = ScoutApm::RequestManager.lookup
Expand Down Expand Up @@ -108,8 +107,7 @@ def render_collection(*args, **kwargs)
end

module ActionViewPartialRendererInstruments
# In Rails 6.1, render_partial was renamed to render_partial_template,
# https://github.com/rails/rails/commit/9187f7482c40bfcb090e2107b274384f12db4f0b
# In Rails 6.1, render_partial was renamed to render_partial_template
def render_partial_template(*args, **kwargs)
req = ScoutApm::RequestManager.lookup

Expand Down

0 comments on commit 4bbfe82

Please sign in to comment.