Skip to content

Refactoring random id #160

Description

@juopmu

Moving
@application.random_id = SecureRandom.hex(12)
@application.sequence_number = @event.applications.count + 1
from applications controller to model

  • :after_create
  • self.random_id ...
  • ... event. applications.count ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions