Upgrade to rails 3.1 and required (minor) code changes.