Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added version task.

  • Loading branch information...
commit 99aa01215972d26b6d614ea2ab2a643bdff70d1b 1 parent ae4fa86
@midas authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 rails_generators/prepare_seeding/templates/genesis.rake
View
7 rails_generators/prepare_seeding/templates/genesis.rake
@@ -13,4 +13,11 @@ namespace :db do
Rake::Task['db:migrate:reset'].invoke
Rake::Task['db:genesis'].invoke
end
+
+ namespace :genesis do
+ desc "Returns the current seed version from teh schema_seeds table"
+ task :version => :environment do
+ puts "[Genesis Seed Version] #{Genesis::Seeder.get_current_version}"
+ end
+ end
end
Please sign in to comment.
Something went wrong with that request. Please try again.