Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Whitelisting gems should be possible #90

Closed
ludwigschubert opened this Issue · 5 comments

3 participants

@ludwigschubert

Hi, when using the rolify gem I get a N+1 warning:

N+1 Query detected
  Role => [:resource]
  Add to your finder: :include => [:resource]

This might be technically correct, but since I can't do anything about rolify's behaviour, I'd really want to whitelist this.

@flyerhzm
Owner

I think you should open a ticket to rolify to fix this issue

@ludwigschubert

You're right. I'm assuming there will be more cases like this in the future.
Not saying whitelisting is a high priority - but it would be helpful in certain 'real life' situations.

@sergey-alekseev

@ludwigschubert Have you opened a ticket to rolify?

@ludwigschubert

Thanks for reminding me – it's here.

BTW, I still think that for pure convenience it would be helpful to be able whitelist gems, so as not to become numb to bullet's warnings.

@flyerhzm
Owner

I just released bullet 4.5.0, please check whitelist section in READEME https://github.com/flyerhzm/bullet#whitelist.

If you have any problems, please leave comments here #85

@flyerhzm flyerhzm closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.