AsyncDataFetch

This project rocks and uses MIT-LICENSE.

To use:

<%= fetch_async(model_name: “Wickwall”, model_id: 90 , model_method: “plop”, tag: “span”, display_error: true) %>

model_name is the name of your model you want to fetch data from model_id is the id of the row model_method is the method you want to call tag is the wrapper tag, if absent, will be ‘span’ display_error is for debug, you’ll see more information into the html and into the javascript console.

TODO: make the controller test work. I am having issues with routing if someone want to help me.