I think you can pass the data-remote="true" paramater, like this:
This comment since june/2016. Still there is no tutorial about "deep" nested_attributes and vue tutorial for rails. (like: team/player/football_shoes[:size, color, brand]) until 2 months i am trying to found a way for it. :(
While using this technique, a came across a problem.
Im basically building an invoice with various fields calculations and nested items, all works fine.
In my form, one of the values is a select box, this helps with some calculations and changes the output of total depending, using computed properties, I then save all of those variables/values to the database on submit.
The problem is when I try then to edit the same record, its opens but the correct saved select values are not show, which will mess the whole calculation.
Any ideas anyone?
Join 22,346+ developers who get early access to new screencasts, articles, guides, updates, and more.