class method
self.new
Ruby on Rails 8.1.2
Since v5.2.8.1Signature
self.new()
No documentation comment.
Source
# File activesupport/lib/active_support/current_attributes.rb, line 205
def initialize
@attributes = resolve_defaults
end
Defined in activesupport/lib/active_support/current_attributes.rb line 205
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::CurrentAttributes