Completed steps to make rails ajax cart