Sha256: 1dc4d01483860a762cc2a319a2890ade757d91a0cbe7549d37a2a0e8acf8325c

Contents?: true

Size: 345 Bytes

Versions: 19

Compression:

Stored size: 345 Bytes

Contents

require 'database_cleaner/active_record/truncation'

module ActiveRecordViews
  module DatabaseCleaner
    module TruncationExtension
      def migration_storage_names
        super + %w[active_record_views]
      end
    end
  end
end

::DatabaseCleaner::ActiveRecord::Truncation.prepend ActiveRecordViews::DatabaseCleaner::TruncationExtension

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
activerecord_views-0.1.8 lib/active_record_views/database_cleaner/truncation_extension.rb
activerecord_views-0.1.7 lib/active_record_views/database_cleaner/truncation_extension.rb
activerecord_views-0.1.6 lib/active_record_views/database_cleaner/truncation_extension.rb
activerecord_views-0.1.5 lib/active_record_views/database_cleaner/truncation_extension.rb
activerecord_views-0.1.4 lib/active_record_views/database_cleaner/truncation_extension.rb
activerecord_views-0.1.3 lib/active_record_views/database_cleaner/truncation_extension.rb
activerecord_views-0.1.2 lib/active_record_views/database_cleaner/truncation_extension.rb
activerecord_views-0.1.1 lib/active_record_views/database_cleaner/truncation_extension.rb
activerecord_views-0.1.0 lib/active_record_views/database_cleaner/truncation_extension.rb
activerecord_views-0.0.20 lib/active_record_views/database_cleaner/truncation_extension.rb
activerecord_views-0.0.19 lib/active_record_views/database_cleaner/truncation_extension.rb
activerecord_views-0.0.18 lib/active_record_views/database_cleaner/truncation_extension.rb
activerecord_views-0.0.17 lib/active_record_views/database_cleaner/truncation_extension.rb
activerecord_views-0.0.16 lib/active_record_views/database_cleaner/truncation_extension.rb
activerecord_views-0.0.15 lib/active_record_views/database_cleaner/truncation_extension.rb
activerecord_views-0.0.14 lib/active_record_views/database_cleaner/truncation_extension.rb
activerecord_views-0.0.13 lib/active_record_views/database_cleaner/truncation_extension.rb
activerecord_views-0.0.12 lib/active_record_views/database_cleaner/truncation_extension.rb
activerecord_views-0.0.11 lib/active_record_views/database_cleaner/truncation_extension.rb