Currently i am upgrading my app to rails 4 and using RJS in many places. later on i cames to know that RJS removed and its still available through prototype-rails gem .so that I have added the gem and included in applicaton.js,but still I am getting the same issue.Currently i am upgrading my app to rails 4 and