instance method
initialize_dup
Ruby on Rails 3.1.12
Since v3.1.12 Last seen in v3.2.22.5Available in: v3.1.12 v3.2.22.5
Signature
initialize_dup(other)
No documentation comment.
Parameters
-
otherreq
Source
# File activemodel/lib/active_model/errors.rb, line 81
def initialize_dup(other)
@messages = other.messages.dup
end
Defined in activemodel/lib/active_model/errors.rb line 81
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveModel::Errors