compatibility with rails3, should work with redmine 2.2.3