scoutapp / scout_apm_ruby

ScoutAPM Ruby Agent. Supports Rails, Sinatra, Grape, Rack, and many other frameworks
https://scoutapm.com
Other
191 stars 92 forks source link

Rails 5 Support #472

Open peterkarman1 opened 1 year ago

peterkarman1 commented 1 year ago

With Rails 5 and below, there is a wrong number of arguments error on active record save! due to the auto instrumentation update here: https://github.com/scoutapp/scout_apm_ruby/commit/1aa5f92e1a787da122167fcba425c44f59ebe440

The docs says it supports rails 2.2 and higher so I'm wondering if there is some configuration I am missing that enables this to work?

mjobin-mdsol commented 1 year ago

5.0, 5.1 or 5.2 ?

peterkarman1 commented 1 year ago

5.0, 5.1 or 5.2 ?

5.2.8.1 Ruby 2.7.7

jrothrock commented 5 months ago

Hey @peterkarman1, sorry for the long response time on our end. Can you give an example of this?

I'm having a hard time recreating this issue using similar versions. I don't believe we've heard of similar issues from other customers on Rails 5 as well. Are you doing any patching of AR or could there potentially be another gem that we are clashing with?