Rails how to get a Javascript Edit-In-Place to save to a model

–1 vote
asked Mar 12, 2016 by Sumbry (220 points)
I am using edit in place javascript library called Pen from https://github. com/sofish/penI have my page working as far as toggle button switching edit mode on and off.

3 Answers

0 votes
answered May 31, 2016 by Duet_Helpf (480 points)
Best answer
commented Jun 2, 2016 by Feliciano (820 points)
This will resolve your issue
0 votes
answered Apr 15, 2016 by Philpot (230 points)
See bernat/best_in_place GitHub for my example
0 votes
answered May 31, 2016 by puelo_bertr (270 points)
This would definitely work. A nice recap is available here
commented May 31, 2016 by nalAnyOr (100 points)
I ran across this after dealing with this issue for a long time. Hope it helps you and all other readers in their future interviews

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!