Updating rails. Unbind events in view before route nagivation.