flyerhzm / bullet

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

Notify when JOIN/WHERE is used on column(s) without an index #182

Open szimek opened 10 years ago

szimek commented 10 years ago

Would it be possible to extend this gem to notify when JOIN/WHERE query is used on column(s) without an index?

KelseyDH commented 9 years ago

+1 That would be a nice feature, especially since the new rails "index: true" syntax for migrations fails silently in Rails 3. Many people probably aren't aware.