A small edit to the class used in the DataTables railscasts episode http://railscasts.com/episodes/340-datatables to update his class to be compatible with DataTables 1.10+