Hacks for Redmine 2.3.2/Rails 3 compatibility