stefankroes / ancestry

Organise ActiveRecord model into a tree structure
MIT License
3.72k stars 458 forks source link

Fix non-default primary_key in find_by and where queries #585

Closed Zhong-z closed 2 years ago

Zhong-z commented 2 years ago

similar to #575 but trying to fix all of them

kbrock commented 2 years ago

thanks @Zhong-z

kbrock commented 2 years ago

so confused why I did not merge this ages ago