mirror of
https://github.com/basecamp/once-campfire.git
synced 2025-12-30 10:20:28 -06:00
Fix fetching missing values
This commit is contained in:
@@ -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