aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-12-12 16:47:19 -0500
committerGitHub <noreply@github.com>2017-12-12 16:47:19 -0500
commit2eee8c3bad674bc3170cfac3e8586127560a4ea5 (patch)
tree485a40eb84848e940c9c7cdd9fadf58324745f57
parenta681eaf22955734c142609961a6d71746cfa0583 (diff)
parent683c8fd2771011201c0560625ce75b8a834dc5eb (diff)
downloadrails-2eee8c3bad674bc3170cfac3e8586127560a4ea5.tar.gz
rails-2eee8c3bad674bc3170cfac3e8586127560a4ea5.tar.bz2
rails-2eee8c3bad674bc3170cfac3e8586127560a4ea5.zip
Merge pull request #31421 from tcopeland/trivial_typo
Fix doc typo [ci skip]
-rw-r--r--activemodel/lib/active_model/type.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/type.rb b/activemodel/lib/active_model/type.rb
index 39324999c9..1d7a26fff5 100644
--- a/activemodel/lib/active_model/type.rb
+++ b/activemodel/lib/active_model/type.rb
@@ -24,7 +24,7 @@ module ActiveModel
class << self
attr_accessor :registry # :nodoc:
- # Add a new type to the registry, allowing it to be get through ActiveModel::Type#lookup
+ # Add a new type to the registry, allowing it to be gotten through ActiveModel::Type#lookup
def register(type_name, klass = nil, **options, &block)
registry.register(type_name, klass, **options, &block)
end