##// END OF EJS Templates
PDF: replace converting error characters instead of returning UTF-8 in FPDF ANSI on Ruby 1.8 (#61)....
PDF: replace converting error characters instead of returning UTF-8 in FPDF ANSI on Ruby 1.8 (#61). In Japan, UTF-8 characters in Shift_JIS(CP932) becomes garbling(MOJI-BAKE). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5351 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r741:e4f0864e3a7f
r5231:2f2cdfd96a9c
Show More
migrate_plugins.rake
15 lines | 439 B | text/x-ruby | RubyLexer
/ lib / tasks / migrate_plugins.rake
namespace :db do
desc 'Migrates installed plugins.'
task :migrate_plugins => :environment do
if Rails.respond_to?('plugins')
Rails.plugins.each do |plugin|
next unless plugin.respond_to?('migrate')
puts "Migrating #{plugin.name}..."
plugin.migrate
end
else
puts "Undefined method plugins for Rails!"
puts "Make sure engines plugin is installed."
end
end
end