You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. When i try to use POST like described in readme
$->$('#posts-datatable').dataTableajax:url:$('#posts-datatable').data('source')
contentType:'application/json'type:'POST'# ...others options, see [here](#5-wire-up-the-javascript)
i got error in Rails ActionDispatch::Http::Parameters::ParseError
So i tried to format params in json like this
$->$('#posts-datatable').dataTableajax:url:$('#posts-datatable').data('source')
contentType:'application/json'type:'POST'data: (d) ->JSON.stringify d
But I got NoMethodError: undefined method to_unsafe_h' for #<Array at ajax-datatables-rails-1.1.0/lib/ajax-datatables-rails/datatable/datatable.rb:73:in get_param'
The text was updated successfully, but these errors were encountered:
Hi. When i try to use POST like described in readme
i got error in Rails ActionDispatch::Http::Parameters::ParseError
So i tried to format params in json like this
But I got NoMethodError: undefined method
to_unsafe_h' for #<Array at ajax-datatables-rails-1.1.0/lib/ajax-datatables-rails/datatable/datatable.rb:73:in
get_param'The text was updated successfully, but these errors were encountered: