I took the comments code from Bernat's blog rails mini tutorial
I tried adding the edit in place functionality by using his best_in_place gem. For the most part it worked right
My code is deployed at http://falling-spring-3964.herokuapp.com/comments
You can look at the code here https://github.com/sunnygill/commentsapp
Problem:
- I add a new comment. It shows up perfectly at the top of the page but the in place editing of the name does not work
- if i refresh the page then in pace editing works
Question:
How can i make the in place editing work without refreshing the page