Skip to content

Instantly share code, notes, and snippets.

@rbmrclo
Created March 31, 2014 08:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rbmrclo/9888023 to your computer and use it in GitHub Desktop.
Save rbmrclo/9888023 to your computer and use it in GitHub Desktop.
Ignore concerns for rails_admin
# config/rails_admin.rb
config.excluded_models = Dir.glob(Rails.root.join('app/models/concerns/**.rb')).map {|p| 'Concerns::' + File.basename(p, '.rb').camelize }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment