Skip to content

Instantly share code, notes, and snippets.

@gabeodess
Created January 25, 2017 15:56
Show Gist options
  • Save gabeodess/d8ee865ae01796fbc75dd8be20ce3427 to your computer and use it in GitHub Desktop.
Save gabeodess/d8ee865ae01796fbc75dd8be20ce3427 to your computer and use it in GitHub Desktop.
Rails 5, ActiveAdmin, DatabaseHitDuringLoad, find_by scope
It appears that ActiveAdmin will throw an `ActiveAdmin::DatabaseHitDuringLoad` error
if you have any scopes prefaced with `find_by`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment