scout_apm_ruby icon indicating copy to clipboard operation
scout_apm_ruby copied to clipboard

Rails 5 Support

Open peterkarman1 opened this issue 2 years ago • 3 comments

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?

peterkarman1 avatar Apr 20 '23 01:04 peterkarman1

5.0, 5.1 or 5.2 ?

mjobin-mdsol avatar Apr 26 '23 04:04 mjobin-mdsol

5.0, 5.1 or 5.2 ?

5.2.8.1 Ruby 2.7.7

peterkarman1 avatar Apr 26 '23 15:04 peterkarman1

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?

jrothrock avatar Jan 25 '24 19:01 jrothrock