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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. 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.