upgrade to latest rails 3.1