So, I tried the Railscasts tutorial, and also one for the ajax-datatables-rails gem. I am creating a list of clients from a database, not users. I believe that I narrowed it down to the fact that when using the method GETthrough Datatables', sServerMethodI get 414 with " Request-URI too large ". When I use the method POST, I just get null values for all attributes except idthat makes sense, since POST json is used to create the client. Any help is much appreciated!
Here is my code and diagnostic answer:
$("#datatable").dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": $('#datatable').data('source'),
});
Answer:
http:
Request-URI Too Large
source
share