Sha256: 9c260744a1075344df8827a2be48cefcf636aa8777fb0b6bc4da37cbca731c6c
Contents?: true
Size: 304 Bytes
Versions: 13
Compression:
Stored size: 304 Bytes
Contents
namespace :db do desc "Validate all models in the database" task :validate => :environment do ActiveRecord::Validate.all end namespace :validate do desc "Purge all invalid models form the database" task :purge => :environment do ActiveRecord::Validate.purge end end end
Version data entries
13 entries across 13 versions & 2 rubygems