Kasper Timm Hansen

Results 119 comments of Kasper Timm Hansen

I just looked at the latest RequestEncoder setup in Rails and I wonder if we should do something more akin to https://github.com/rails/rails/blob/20f5828cacf164f0f53d669b37ba1e4b0f0f8907/actionpack/lib/action_dispatch/testing/request_encoder.rb#L58 here. Ref: https://github.com/rails/rails/commit/0f4ab82082c87f22b6733d46b4251009cbbb1dd4 That way users can match...

cc @seanpdoyle in case you have thoughts on extending the request encoder.

heyo, sorry for being out of the loop on this one! > I've been wondering if we even should use fixtures/test data in the first place. Would it make sense...

Huh, I see. It's possible we want to generate the method based on `ActiveRecord::Base::primary_key`. Probably to support composite primary keys as well, which are an Array.

@marcelolx hey, can you test it out on your end with #88 now? I'll ship a new Oaken release shortly.

@paulfri you got it! I kept meaning to do it, but just never got to it, but anyway here's https://github.com/kaspth/oaken/releases/tag/v0.8.0

Yeah, we're aware of this, but I haven't found a reliable way to fix it yet. "isolated" there refers to having the helpers scoped just to partials, versus also having...

@marcelolx heyo 👋 > For example, with fixtures if on one fixture I say that it is associated with an organization, Rails magically runs the organization fixture first (I guess?)...

Here's another tip to help resolve the interconnectedness and get a better overview of your object graph at the same time. Basically I think an object-graph can be carved into...

@marcelolx I've rewritten the README and planning a big release, you can see #112 and #113 for the details. Does the new README on https://github.com/kaspth/oaken make the loading control clearer?