upgrade rails dependency to 4.1