Closed brzpegasus closed 7 years ago
This replaces the hard-coded parent_id in the query generated by ancestors/1 with the :foreign_key option.
parent_id
ancestors/1
:foreign_key
This replaces the hard-coded
parent_id
in the query generated byancestors/1
with the:foreign_key
option.