Skip to content
This repository was archived by the owner on Sep 16, 2020. It is now read-only.
This repository was archived by the owner on Sep 16, 2020. It is now read-only.

Verify that updated_at is mapped correctly #8

@henrik

Description

@henrik

Namely: say the mapper copies timestamp x from record to entity. Later, at timestamp y, we modify it and ask the mapper to persist it from entity to record. We don't want the old timestamp x to be persisted. Not sure if it will be currently.

We could either ignore the passed in "updated_at" and let Rails do its thing, or perhaps we could have the entity or mapper set the "updated_at" value to Time.now when persisting, unless the value was manually set. Or something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions