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
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:However when inspecting the database it appears that multiple addresses can technically be applied to 1 location. I'm proposing the following behavior:
location_id