We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80eec3d commit 9380a92Copy full SHA for 9380a92
1 file changed
app/models/datum/ext/migrate.rb
@@ -13,7 +13,7 @@ def migrate_with_children
13
end
14
15
16
- def migrate(target = {})
+ def migrate(target = self.class::DEFAULT)
17
keys = mapped_attributes(target[:key])
18
return if keys.value?(nil)
19
0 commit comments