Dynamically Auto Save Rails Form using Ajax is failing at some Point
问题 I am basic developer of Rails, Not some professional ! I am trying to auto save the rails form after some interval using ajax Dynamically. Actually The real need is that when the first time ajax function executes it inserts the object in the database and afterwards it updates that object. I tried this approach on simple object without any Associations and it works, but right now The requirement is quite different. The model has has_many associations. These Associations is being managed with