lib/rest/read.rb in active-orient-0.5 vs lib/rest/read.rb in active-orient-0.6

- old
+ new

@@ -111,11 +111,11 @@ def get_records raw: false, query: nil, **args query = OrientSupport::OrientQuery.new(args) if query.nil? begin logger.progname = 'RestRead#GetRecords' url = "/query/#{ActiveOrient.database}/sql/" + query.compose(destination: :rest) + "/#{query.get_limit}" -# puts "URL" -# puts query.compose( destination: :rest).to_s + # puts "REST_READ#GET_RECORDS.URL" + # puts query.compose( destination: :rest).to_s # puts url.to_s response = @res[URI.encode(url)].get JSON.parse(response.body)['result'].map do |record| if raw record