Skip to content

Instantly share code, notes, and snippets.

@kamipo
Created July 8, 2019 05: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 kamipo/cc20b7d42e1aec1edbf0850f10f04788 to your computer and use it in GitHub Desktop.
Save kamipo/cc20b7d42e1aec1edbf0850f10f04788 to your computer and use it in GitHub Desktop.
# Load the Rails application.
require_relative 'application'
# Initialize the Rails application.
Rails.application.initialize!
ActiveRecord::SchemaDumper.ignore_tables << %r{
\A (?:
_ # initials _
| test_ # for testing
| accounts_op # this is view, not table
)
}x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment