lib/tasks/platform.rake in platform-3.1.2 vs lib/tasks/platform.rake in platform-3.1.3
- old
+ new
@@ -24,9 +24,10 @@
namespace :platform 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'
+ Tr8n::Config.reset_all!
Platform::Config.reset_all!
end
task :rollup_metrics => :environment do
# for debugging purposes
\ No newline at end of file