mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
8338481070
Self-referencing associations have the foreign key in both the owner of the association and the source. Because of that we need to check in both before telling if an object matches or not the foreign key. |
||
---|---|---|
.. | ||
active_record | ||
arel | ||
rails/generators | ||
active_record.rb | ||
arel.rb |