On my edit page I can update values using ajax.
In my edit action I also have something like: Model.where(model_id:
id).sum("attribute")
As the edit action is not executed anymore, I dont get a proper result
after I add some new value, have to reload the page.
How is the best way to actualize the sum after edit.. ?
Thanks
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/RHAW38e5gOwJ.
For more options, visit https://groups.google.com/groups/opt_out.