mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-10-31 01:24:04 +09:00
Fix fetching missing values
This commit is contained in:
1 parent
bea2c89c2b
commit
f56e33e323
1 file changed
+1
-1
@@ -21,7 +21,7 @@ module ActiveRecord
|
||||
value = args.first
|
||||
@data[key] = ActiveModel::Type.lookup(key_type).cast(value)
|
||||
else
|
||||
@data.fetch(key)
|
||||
@data[key]
|
||||
end
|
||||
else
|
||||
super
|
||||
|
||||
Reference in new issue
Block a user