Closed gaustin closed 2 years ago
Sorry, Tenacity doesn't support this.
My work on Tenacity is currently limited to bug fixes. I have no plans to add any features to the library in the near future. However, if you're interested in adding this feature, I'd be more than happy to accept a pull request.
Thanks for the quick response.
I'm currently supporting this functionality with my own little library, but it's way too MongoDB-specific. I'd really like all of the cross-DBMS support in the same library.
I'll try to workup a pull request in the next few weeks.
Cool. Don't hesitate to ping me if you have any questions.
@jwood Hi, i have monkey-patched this functionality for has_many relation, and thinking about making a pull request with full support for non-default primary_key. Would that be cool?
@masterweily yep, that would be great. If you submit a PR, and all of the tests pass, I will happily merge it in and cut a new version.
I have models like:
When I try to create a quote I get:
I tried specifying the primary key by passing ":primary_key => 'dealer_id'" to the t_belongs_to association.
Suggestions?