Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-add deprecated TaxRate#tax_category #2013

Merged

Conversation

jhawthorn
Copy link
Contributor

This was removed when the association was changed to a many-to-many (#1851). It's easy enough for us to provide the basic accessors as deprecated methods.

@jhawthorn jhawthorn force-pushed the tax_rate_tax_category_deprecation branch from 590917d to 5acf29e Compare June 12, 2017 18:36
end

def tax_category
self.tax_categories[0]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant self detected.

@solidusio solidusio deleted a comment from houndci-bot Jun 12, 2017
@jhawthorn jhawthorn force-pushed the tax_rate_tax_category_deprecation branch from 5acf29e to a7356a8 Compare June 12, 2017 18:36
Copy link
Contributor

@mamhoff mamhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, this makes sense.

Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to deprecate them for another round.

Small typo in the commit message RaxRate vs. TaxRate

This was removed when the association was changed to a many-to-many.
It's easy enough for us to provide the basic accessors as deprecated
methods.
@jhawthorn jhawthorn changed the title Re-add deprecated RaxRate#tax_category Re-add deprecated TaxRate#tax_category Jun 14, 2017
@jhawthorn jhawthorn force-pushed the tax_rate_tax_category_deprecation branch from a7356a8 to d0aaead Compare June 14, 2017 21:23
@jhawthorn jhawthorn merged commit b5ffbe8 into solidusio:master Jun 14, 2017
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.

4 participants