mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Let's not dup because value may not always be duplicable.
This commit is contained in:
@@ -117,7 +117,7 @@ module ActiveModel
|
||||
RUBY
|
||||
else
|
||||
value = value.to_s if value
|
||||
sing.send(:define_method, name) { value && value.dup }
|
||||
sing.send(:define_method, name) { value }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user