lib/query_helper.rb in query_helper-0.2.1 vs lib/query_helper.rb in query_helper-0.2.2

- old
+ new

@@ -182,10 +182,10 @@ preload: @preload ) end def clean_results - @results.map!{ |r| r.except("_query_full_count") } if @page && @per_page + @results.map!{ |r| r.except("_query_full_count") } if @page && @per_page && !@single_record end def pagination_results # Set pagination params if they aren't provided @per_page = @count unless @per_page