Skip to content

validates_uniqueness_of only works on create #37

@jmclachlan

Description

@jmclachlan

after that it will always fail on subsequent saves since there self will be found. It should do an id comparison if new_record? is false.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions