mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #39818 from kajisha/master
Fix typo s/delegates/delegate/ [ci skip]
This commit is contained in:
commit
badba9d2fa
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ module ActiveRecord
|
||||||
#
|
#
|
||||||
# class Entry < ApplicationRecord
|
# class Entry < ApplicationRecord
|
||||||
# delegated_type :entryable, types: %w[ Message Comment ]
|
# delegated_type :entryable, types: %w[ Message Comment ]
|
||||||
# delegates :title, to: :entryable
|
# delegate :title, to: :entryable
|
||||||
# end
|
# end
|
||||||
#
|
#
|
||||||
# class Message < ApplicationRecord
|
# class Message < ApplicationRecord
|
||||||
|
|
Loading…
Reference in a new issue