aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-03-09 20:47:45 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-03-09 20:47:45 +0900
commit163df5d6a0dd6ac33fd4404867242d50274efa4a (patch)
tree3f5a1d98a92a7669e1ac989729f2733196bf9098 /activemodel
parentb165d73f2ccd421c9f3518ce9bf5bcb322440cb7 (diff)
downloadrails-163df5d6a0dd6ac33fd4404867242d50274efa4a.tar.gz
rails-163df5d6a0dd6ac33fd4404867242d50274efa4a.tar.bz2
rails-163df5d6a0dd6ac33fd4404867242d50274efa4a.zip
use same name to type object
Follow up to #24079
Diffstat (limited to 'activemodel')
-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 bec851594f..6ec3452478 100644
--- a/activemodel/lib/active_model/type.rb
+++ b/activemodel/lib/active_model/type.rb
@@ -47,7 +47,7 @@ module ActiveModel
register(:binary, Type::Binary)
register(:boolean, Type::Boolean)
register(:date, Type::Date)
- register(:date_time, Type::DateTime)
+ register(:datetime, Type::DateTime)
register(:decimal, Type::Decimal)
register(:float, Type::Float)
register(:immutable_string, Type::ImmutableString)