lib/query_helper.rb in query_helper-0.2.2 vs lib/query_helper.rb in query_helper-0.2.3
- old
+ new
@@ -116,10 +116,10 @@
)
manipulator.build()
end
def to_json(args)
- results.to_json
+ JSON.generate(results)
end
def to_sql
query = build_query()
begin