1
0
Fork 0
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:
Ryuta Kamizono 2020-07-10 16:09:49 +09:00 committed by GitHub
commit badba9d2fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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