Skip to content

Commit

Permalink
Fix typo s/delegates/delegate/ [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
kajisha committed Jul 10, 2020
1 parent 21f825e commit 86de9c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/delegated_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ module ActiveRecord
#
# class Entry < ApplicationRecord
# delegated_type :entryable, types: %w[ Message Comment ]
# delegates :title, to: :entryable
# delegate :title, to: :entryable
# end
#
# class Message < ApplicationRecord
Expand Down

0 comments on commit 86de9c2

Please sign in to comment.