##// END OF EJS Templates
Rails3: scm: git: fix error of test_db_consistent_ordering_before_1_2 at unit model test...
Rails3: scm: git: fix error of test_db_consistent_ordering_before_1_2 at unit model test On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7072 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2667:53b002b4970c
r6952:56ef96081b49
Show More
about.rb
16 lines | 431 B | text/x-ruby | RubyLexer
module Redmine
class About
def self.print_plugin_info
plugins = Redmine::Plugin.registered_plugins
if !plugins.empty?
column_with = plugins.map {|internal_name, plugin| plugin.name.length}.max
puts "\nAbout your Redmine plugins"
plugins.each do |internal_name, plugin|
puts sprintf("%-#{column_with}s %s", plugin.name, plugin.version)
end
end
end
end
end