upgrade to Rails4