Commit dd08a32
committed
Fix code example for relationship specific method definitions
There is no such method or variable as `relationship` defined in the
special record_for_#{relationship} method. For the commented-out code
to actually work, we first need to fetch the relationship object before
we can ask for the relation name.1 parent 3b1d574 commit dd08a32
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
| 738 | + | |
738 | 739 | | |
739 | 740 | | |
740 | 741 | | |
741 | 742 | | |
742 | 743 | | |
| 744 | + | |
743 | 745 | | |
744 | 746 | | |
745 | 747 | | |
| |||
0 commit comments