lib/tabulatr/tabulatr/adapter/mongoid.rb in tabulatr-0.4.1 vs lib/tabulatr/tabulatr/adapter/mongoid.rb in tabulatr-0.4.2

- old
+ new

@@ -23,10 +23,10 @@ assoc.to_s.tableize end def order_for_query(sortparam, default) context = order(sortparam, default) - context.values.map(&:to_s) if context + [context[:by], context[:direction]].map(&:to_s) if context end def includes(includes) @relation # do nothing with includes end