hey all, I have a join table between two schemas that also holds properties, the relationship is like this:
many_to_many :markets, MyApp.Markets.Market, join_through: "products_markets"
has_many :product_markets, MyApp.Catalog.ProductMarket
I'm using has_many macro to access the data stored on the join table.
My question:
Is there a way to change the name of that property ? currently I have to do product.product_markets , but I would like to do product.market_settings
Is there a way to achieve this ?