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

TimeDependent belongs_to replaced_by association should be optional for rails5.2 #83

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

weber-s
Copy link

@weber-s weber-s commented Oct 2, 2020

With the rails 5 update, belongs_to association are require by default.

When trying to upgrade a rails 4 to rails 5 app with invoicing, InvoicingTaxRate failed due to this issue.

I think this PR fix it.

It should also fix #58

George Thomas and others added 5 commits August 14, 2020 21:30
- Add required Ruby version
- Add License
- Add required Rails version
- Add deprecation warning for breaking changes
Rails 5.2 will be supported in the next major version
@weber-s weber-s mentioned this pull request Oct 4, 2020
@weber-s
Copy link
Author

weber-s commented Nov 7, 2020

I don't fully understand why the test are failling for only 2 Gemfiles. Is it specific to this PR (i.e. did I introduce a bug) or already present ?

…gemspec' into belongs_to_for_time_dependent_is_optional
@weber-s
Copy link
Author

weber-s commented Jan 17, 2021

The merge of the other PR #80 fix the travis CI. Is it possible to merge it upstream and release it on rubygems?

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.

Replaced by required on first tax rate creation
1 participant