Skip to content

Commit 93b83f9

Browse files
authored
Merge pull request rails#50819 from tanaken0515/patch-1
[ci skip] docs: fix `Entry#entryable_types` to `Entry.entryable_types`
2 parents 30cb7a6 + 024d0ab commit 93b83f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/association_basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3007,7 +3007,7 @@ With this definition complete, our `Entry` delegator now provides the following
30073007

30083008
| Method | Return |
30093009
|---|---|
3010-
| `Entry#entryable_types` | ["Message", "Comment"] |
3010+
| `Entry.entryable_types` | ["Message", "Comment"] |
30113011
| `Entry#entryable_class` | Message or Comment |
30123012
| `Entry#entryable_name` | "message" or "comment" |
30133013
| `Entry.messages` | `Entry.where(entryable_type: "Message")` |

0 commit comments

Comments
 (0)