flyerhzm / bullet

help to kill N+1 queries and unused eager loading
MIT License
7.06k stars 432 forks source link

undefined local variable or method `caller_locations' for Bullet::Detector::NPlusOneQuery:Class #383

Open tofirius opened 6 years ago

tofirius commented 6 years ago

ruby 1.9.3 gem 2.4.5 rails 4.0.0 bullet 5.7.2

I am working on an enterprise project which cannot have ruby upgraded at this time, unfortunately.

Thanks very much.

tofirius commented 6 years ago

also...

activemodel (4.2.5, 4.2.0, 4.1.0, 4.0.0) activerecord (4.2.5, 4.2.0, 4.1.0, 4.0.0) activerecord-deprecated_finders (1.0.3) activerecord-sqlserver-adapter (4.1.8) activesupport (4.2.5, 4.2.0, 4.1.0, 4.0.0)

flyerhzm commented 6 years ago

@tofirius I fixed it in master branch, please give it a try.