Skip to content

Remove HABTMs from property prototypes#516

Merged
cbrunsdon merged 1 commit into
solidusio:masterfrom
cbrunsdon:habtm_prototypes
Nov 24, 2015
Merged

Remove HABTMs from property prototypes#516
cbrunsdon merged 1 commit into
solidusio:masterfrom
cbrunsdon:habtm_prototypes

Conversation

@cbrunsdon

Copy link
Copy Markdown
Contributor

We're working to remove HABTM relationships from the codebase for a
variety of reasons, please see #289

This is one PR in a series of me pulling apart and splitting up @BenMorganIO's work from #289

We're working to remove HABTM relationships from the codebase for a
variety of reasons, please see solidusio#289
@Senjai

Senjai commented Nov 18, 2015

Copy link
Copy Markdown
Contributor

:shipit: 👍, we almost always have to create models for these join tables at some point in time.

@tvdeyen

tvdeyen commented Nov 18, 2015

Copy link
Copy Markdown
Member

I added a comment to #289 about a fix for a bug that was introduced with spree/spree#6654

@cbrunsdon

Copy link
Copy Markdown
Contributor Author

@tvdeyen Hmm, thanks for the link, we'd only care about that where associations need to have their class's dynamically determined, right?

I don't need to pay attention to that for this specific commit as neither specify the class nor is it dynamically determined, correct?

@tvdeyen

tvdeyen commented Nov 18, 2015 via email

Copy link
Copy Markdown
Member

@BenMorganIO

Copy link
Copy Markdown
Contributor

Don't forget those foreign keys :)

@cbrunsdon thank you for taking over 👍

@cbrunsdon

Copy link
Copy Markdown
Contributor Author

@BenMorganIO did I need the FK's to make this legit? I was trying to get the smallest possible improvement. Tests pass on this, after all...

@BenMorganIO

Copy link
Copy Markdown
Contributor

@cbrunsdon 👍 then.

@magnusvk

Copy link
Copy Markdown
Contributor

👍

1 similar comment
@jhawthorn

Copy link
Copy Markdown
Contributor

👍

cbrunsdon added a commit that referenced this pull request Nov 24, 2015
Remove HABTMs from property prototypes
@cbrunsdon cbrunsdon merged commit 98dcc24 into solidusio:master Nov 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants