Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.
This repository was archived by the owner on Apr 17, 2018. It is now read-only.

Remix 1 #1

@mhayes

Description

@mhayes

I believe that the ability to remix 1 should behave differently. According to the documentation from the remix 1, :addressables example found on the README the Location being remixed with 1 address does the following:

  • Creates a class called LocationAddress
  • Duplicates the properties of Addressable within LocationAddress
  • Creates a table called location_addresses
  • Creates Location#location_addresses accessor

However when inspecting the database it appears that multiple addresses can technically be applied to 1 location. I'm proposing the following behavior:

  • In the location_addresses table there should be a unique constraint placed on location_id
  • Instead of a Location#location_addresses accessor, it should be a singular Location#location_address or Location#address accessor

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