I have a rails class Datatable that returns an as_json object.
I want to then take that object and assign it to several instance vars to update partials, so when a user calls a myriad of ajax options, I can do one json object server-side, assign them to vars server-side, and reload by partial erb.
How can I call Model.refresh_objects to use in my controller before I call my update_divs.js.erb?
If I'm off-base on how this should be done, please teach me.