annotate .svn/pristine/f0/f0bee1a6f97328341c5f17af5852ef8e9b541a2f.svn-base @ 1524:82fac3dcf466 redmine-2.5-integration

Fix failure to interpret Javascript when autocompleting members for project
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 11 Sep 2014 10:24:38 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 namespace :db do
Chris@909 2 desc 'Migrates installed plugins.'
Chris@909 3 task :migrate_plugins => :environment do
Chris@909 4 if Rails.respond_to?('plugins')
Chris@909 5 Rails.plugins.each do |plugin|
Chris@909 6 next unless plugin.respond_to?('migrate')
Chris@909 7 puts "Migrating #{plugin.name}..."
Chris@909 8 plugin.migrate
Chris@909 9 end
Chris@909 10 else
Chris@909 11 puts "Undefined method plugins for Rails!"
Chris@909 12 puts "Make sure engines plugin is installed."
Chris@909 13 end
Chris@909 14 end
Chris@909 15 end