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.11 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.10 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.9 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.8 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.7 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.6 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.5 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.4 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.3 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.2 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.1 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.32 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.31 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.30 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.29 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.28 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.27 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.26 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.25 lib/tasks/iugusdk_tasks.rake
iugusdk-1.0.0.alpha.24 lib/tasks/iugusdk_tasks.rake