Sha256: c6c0007e9ea40513ba59acfb73fe978f32352daea7ee4896d0c185b2aca4f477

Contents?: true

Size: 226 Bytes

Versions: 15

Compression:

Stored size: 226 Bytes

Contents

namespace :samples do 

  desc 'Initialize database with random data'
  task :init => :environment do
    [User, Event, EventUser].each do |cls| 
        cls.delete_all
        cls.generate_random_data
    end
  end
  
end



Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
will_filter-5.1.4 test/dummy/lib/tasks/dummy.rake
will_filter-5.1.3 test/dummy/lib/tasks/dummy.rake
will_filter-5.1.2 test/dummy/lib/tasks/dummy.rake
will_filter-5.1.1 test/dummy/lib/tasks/dummy.rake
will_filter-5.1.0 test/dummy/lib/tasks/dummy.rake
will_filter-3.1.11 test/dummy/lib/tasks/dummy.rake
will_filter-3.1.10 test/dummy/lib/tasks/dummy.rake
will_filter-3.1.9 test/dummy/lib/tasks/dummy.rake
will_filter-3.1.8 test/dummy/lib/tasks/dummy.rake
will_filter-3.1.7 test/dummy/lib/tasks/dummy.rake
will_filter-3.1.6 test/dummy/lib/tasks/dummy.rake
will_filter-3.1.5 test/dummy/lib/tasks/dummy.rake
will_filter-3.1.3 test/dummy/lib/tasks/dummy.rake
will_filter-3.1.2 test/dummy/lib/tasks/dummy.rake
will_filter-3.1.1 test/dummy/lib/tasks/dummy.rake