Sha256: 1e57d876084ea80d325653175adc9ca0f34b95d13541e0bf39b8d1cb1f4d5ddc

Contents?: true

Size: 168 Bytes

Versions: 35

Compression:

Stored size: 168 Bytes

Contents

# require 'database_cleaner'

namespace :db do
  desc 'truncate database data'
  task :truncate => :environment do
    DatabaseCleaner.clean_with :truncation
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
iugusdk-1.0.0.alpha.23 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.22 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.21 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.20 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.19 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.18 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.17 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.16 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.14 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.13 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.12 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.11 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.10 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.9 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.7 lib/tasks/iugusdk_tasks.rake