Comments (19)
Confirmed - happens with my Rails 3.1rc4 app also.
from bullet.
+1
from bullet.
+1
from bullet.
+1
from bullet.
+1 with rails 3.1rc5
from bullet.
+1 with rails 3.1rc6
from bullet.
+1 with rails 3.1.0
from bullet.
+1 with 3.1.0.rc6
from bullet.
+1 with 3.1.0 rc5 and 3.1.0
from bullet.
+1
from bullet.
+1
from bullet.
+1
from bullet.
Yeah, me to... Is there a solution to this??
from bullet.
@IskanderHaziev sends pull request to fix 3.1 compatible, I didn't test it yet, please try the master branch to see if it works fine in 3.1.0 and 3.1.1
from bullet.
Dosent work for Rails 3.1.1
from bullet.
+1 w/ Rails 3.1.3
from bullet.
it supports rails 3.1 in version 2.1.0
from bullet.
Is this the same problem?
/Users/amree/.rvm/gems/ruby-1.9.3-p0@spifa/gems/bullet-2.1.0/lib/bullet/active_record2.rb:8:in `alias_method': undefined method `find_every' for class `Class' (NameError)
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@spifa/gems/bullet-2.1.0/lib/bullet/active_record2.rb:8:in `singletonclass'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@spifa/gems/bullet-2.1.0/lib/bullet/active_record2.rb:7:in `block in enable'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@spifa/gems/bullet-2.1.0/lib/bullet/active_record2.rb:6:in `class_eval'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@spifa/gems/bullet-2.1.0/lib/bullet/active_record2.rb:6:in `enable'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@spifa/gems/bullet-2.1.0/lib/bullet.rb:41:in `enable='
from /Users/amree/Workspace/Rails/spifa/config/environments/development.rb:43:in `block (2 levels) in <top (required)>'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@global/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:34:in `call'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@global/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:34:in `execute_hook'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@global/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@global/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:42:in `each'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@global/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@global/gems/railties-3.2.1/lib/rails/application/finisher.rb:59:in `block in <module:Finisher>'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@global/gems/railties-3.2.1/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@global/gems/railties-3.2.1/lib/rails/initializable.rb:30:in `run'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@global/gems/railties-3.2.1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@global/gems/railties-3.2.1/lib/rails/initializable.rb:54:in `each'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@global/gems/railties-3.2.1/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@global/gems/railties-3.2.1/lib/rails/application.rb:136:in `initialize!'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@global/gems/railties-3.2.1/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /Users/amree/Workspace/Rails/spifa/config/environment.rb:5:in `<top (required)>'
from /Users/amree/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/amree/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/amree/Workspace/Rails/spifa/config.ru:3:in `block in <main>'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@global/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@global/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
from /Users/amree/Workspace/Rails/spifa/config.ru:1:in `new'
from /Users/amree/Workspace/Rails/spifa/config.ru:1:in `<main>'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@spifa/gems/thin-1.3.1/lib/rack/adapter/loader.rb:36:in `eval'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@spifa/gems/thin-1.3.1/lib/rack/adapter/loader.rb:36:in `load'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@spifa/gems/thin-1.3.1/lib/rack/adapter/loader.rb:45:in `for'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@spifa/gems/thin-1.3.1/lib/thin/controllers/controller.rb:169:in `load_adapter'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@spifa/gems/thin-1.3.1/lib/thin/controllers/controller.rb:73:in `start'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@spifa/gems/thin-1.3.1/lib/thin/runner.rb:185:in `run_command'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@spifa/gems/thin-1.3.1/lib/thin/runner.rb:151:in `run!'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@spifa/gems/thin-1.3.1/bin/thin:6:in `<top (required)>'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@spifa/bin/thin:19:in `load'
from /Users/amree/.rvm/gems/ruby-1.9.3-p0@spifa/bin/thin:19:in `<main>'
from bullet.
Yes, it's the same problem, pull #54 fixes it.
from bullet.
Related Issues (20)
- Why sentry not received alert when n+1 query detected in staging env ?
- Content Security Policy not properly detected in Rails HOT 4
- Nonces are not applied to inline CSS styles
- Obvious N+1 query not detected in RSpec (when setup code is run before it) HOT 1
- add_safelist ignored HOT 1
- Support to rails 7.1.0.alpha HOT 3
- `skip_html_injection` as a URL query param?
- Feature request: accept lambda rather than using uniform_notifier
- Add support for notifiers which works on collections
- Wrong `Eager Loading Detected` if use `before_all` or `let_it_be` HOT 2
- Add support for Rails ActiveRecord 7.1.0 HOT 1
- After upgrading to Bullet 7.1, my Rails 6.1 tests start failing (reset_counters) HOT 2
- Rails 7.1 composite primary keys break N+1 detection
- Bullet does not support active_record 7.0.6 HOT 10
- Breaks with mongoid 8
- Problem with counter_cache_enable and raise HOT 1
- New gem version HOT 1
- How Can I Use Bullet Gem in a Thor Task Job ? HOT 1
- Bullet does not support active_record 7.1.3.2 yet HOT 1
- Setting the Bullet.enable swtich, flips the Bullet.unused_eager_loading_enable value
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bullet.