lib/tasks/to_convert_to_thor/db_tasks.rake
Block has too many lines. [35/25] Open
Open
namespace :datashift do
namespace :db do
SYSTEM_TABLE_EXCLUSION_LIST = ['schema_migrations'].freeze
- Read upRead up
- Exclude checks
This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.
Block has too many lines. [33/25] Open
Open
namespace :db do
SYSTEM_TABLE_EXCLUSION_LIST = ['schema_migrations'].freeze
desc 'Purge the current database'
- Read upRead up
- Exclude checks
This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.
Block has too many lines. [29/25] Open
Open
task :purge, [:exclude_system_tables] => [:environment] do |_t, args|
require 'highline/import'
agree('WARNING: In Production database, REALLY PURGE ? [y]:') if Rails.env.production?
- Read upRead up
- Exclude checks
This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.