Sha256: 921106f2252425d48b6e350ea3f2a426dc52762f7f184d9e651cf2b9af570b3a

Contents?: true

Size: 215 Bytes

Versions: 4

Compression:

Stored size: 215 Bytes

Contents

namespace :markable do
  desc "Delete marks without marker or markable"
  task :delete_orphan_marks => :environment do
    count = Markable::Mark.delete_orphans
    puts "#{count} marks have been deleted."
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
markable-0.1.4 lib/tasks/markable.rake
markable-0.1.3 lib/tasks/markable.rake
markable-0.1.2 lib/tasks/markable.rake
markable-0.1.1 lib/tasks/markable.rake