aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/attribute
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/lib/active_model/attribute')
-rw-r--r--activemodel/lib/active_model/attribute/user_provided_default.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/attribute/user_provided_default.rb b/activemodel/lib/active_model/attribute/user_provided_default.rb
index a5dc6188d2..9dc16e882d 100644
--- a/activemodel/lib/active_model/attribute/user_provided_default.rb
+++ b/activemodel/lib/active_model/attribute/user_provided_default.rb
@@ -44,8 +44,7 @@ module ActiveModel
end
end
- protected
-
+ private
attr_reader :user_provided_value
end
end