updated to latest rails 3 version