aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-11-09 15:12:38 -0500
committerGitHub <noreply@github.com>2017-11-09 15:12:38 -0500
commit100c62ae15deb3d70c5e17d880fd57971bb8759a (patch)
tree736119c8ea9b683ac465c07e6a640d7e14bbc1b0 /activemodel/lib/active_model.rb
parentdac7c8844b4d9944eaa0fca98b45ee478cdb7201 (diff)
parentc3675f50d2e59b7fc173d7b332860c4b1a24a726 (diff)
downloadrails-100c62ae15deb3d70c5e17d880fd57971bb8759a.tar.gz
rails-100c62ae15deb3d70c5e17d880fd57971bb8759a.tar.bz2
rails-100c62ae15deb3d70c5e17d880fd57971bb8759a.zip
Merge pull request #30985 from lugray/attribute_set_in_am
Move Attribute and AttributeSet to ActiveModel
Diffstat (limited to 'activemodel/lib/active_model.rb')
-rw-r--r--activemodel/lib/active_model.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activemodel/lib/active_model.rb b/activemodel/lib/active_model.rb
index a97d7989be..faecd6b96f 100644
--- a/activemodel/lib/active_model.rb
+++ b/activemodel/lib/active_model.rb
@@ -30,6 +30,8 @@ require "active_model/version"
module ActiveModel
extend ActiveSupport::Autoload
+ autoload :Attribute
+ autoload :Attributes
autoload :AttributeAssignment
autoload :AttributeMethods
autoload :BlockValidator, "active_model/validator"