lib/tasks/tr8n.rake in tr8n-3.1.4 vs lib/tasks/tr8n.rake in tr8n-3.1.5

- old
+ new

@@ -22,10 +22,10 @@ #++ namespace :tr8n do desc "Initializes all of the tables with default data" task :init => :environment do - raise "This action is prohibited in this environment" if ['production', 'stage', 'staging'].include?(Rails.env) and env('force') != 'true' + raise "This action is prohibited in this environment" if ['production', 'stage', 'staging'].include?(Rails.env) Tr8n::Config.reset_all! end desc "Resets all metrics" task :reset_metrics => :environment do \ No newline at end of file