sum rent is working in irb but not working in localhost