Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: shanboli
I am playing with data table following this guide.
But I feel the code in CoffeeScript was loaded before the html/haml code. So the jQuery select didn't find the .
Nothing happened after I load the page.
But when I type $('#provider-data-table').dataTable() on console, I can see the table. It is the same code in the CoffeeScript.
Could you please help me?