Charles Maresh

Results 47 comments of Charles Maresh

@ohler55 is there an Oj method to show its current configuration? If I disable the use of Oj in our app there are no issues. Calling `Oj.optimize_rails()` specifically raises the...

I've reproduced the issue in the Ruby file [oj-blueprinter-pact-reproduction-script.rb](https://gist.github.com/zorab47/f00e4ad8d5b02b583c2ba97db6011f67). The issue is likely due to an interaction the [Blueprinter](https://github.com/procore/blueprinter) library is doing with Oj. It will require additional research. The...

Quick update: After checking the Blueprinter library I was able to reproduce without that dependency. [The gist](https://gist.github.com/zorab47/f00e4ad8d5b02b583c2ba97db6011f67) is now updated to reproduce the issue without Blueprinter. The key order to...

Is there a way to detect when the mimic JSON compatibility mode is being used? Is there a configuration to disable it?

Nice! That looks useful. Any insights into the performance trade-offs (like memory)?

Nice! I'm way behind on open source libs. ❤️

Thanks for posting the feature request! How would the sorting be persisted? Could your model have a virtual no-op setter for `:sorting_attribute`? ```ruby class NamedTreeNode def no_op_sorting_attribute=(*) # do nothing...

Could your model expose an integer version of the attribute; then use that as the sorting attribute?

Nice! Is there a maximum number of records where performance degrades?

Making the method of loading records configurable could work, but loading all records shouldn't be the default. On Wed, Aug 29, 2018 at 22:32 Sh Lin wrote: > Currently we...