Skip to content

DummyValue must use default_value if present #192

Closed
@catmando

Description

@catmando

currently DummyValue will ignore the default_value of the columns_hash if the default_value is nil. For example if the column is a string type, and the default_value is nil, then the DummyValue will be the empty string instead of nil.

This causes problems especially for Serialized values because empty string is not acceptable to rails (but nil is)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingready-to-releaseInternal Use Only: Has been fixed, specs passing and pushed to edge branch

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions