Skip to content

Commit 9380a92

Browse files
committed
the default
1 parent 80eec3d commit 9380a92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/models/datum/ext/migrate.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def migrate_with_children
1313
end
1414
end
1515

16-
def migrate(target = {})
16+
def migrate(target = self.class::DEFAULT)
1717
keys = mapped_attributes(target[:key])
1818
return if keys.value?(nil)
1919

0 commit comments

Comments
 (0)