use Arel for enumeration update
adapt redmines calendar partial/helper to openproject