> {:recordsTotal => Model.all.count, :recordsFiltered => @data.count, :data =>
> @data.to_json}.to_json

did you try just `@data` instead of `@data.to_json`?

liek this:

  {
    :recordsTotal => Model.all.count,
    :recordsFiltered => @data.count,
    :data => @data
  }.to_json

-- 
Igor

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to