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

Rails 6 compatibility #6

Merged
merged 2 commits into from
Sep 10, 2019
Merged

Rails 6 compatibility #6

merged 2 commits into from
Sep 10, 2019

Conversation

joevandyk
Copy link
Contributor

No description provided.

tests fail with

  NoMethodError:
    undefined method `trigger_transactional_callbacks?' for #<AfterCommitEverywhere::Wrap:0x00007f97c9012f08>
  # ./spec/after_commit_everywhere_spec.rb:303:in `block (4 levels) in <top (required)>'
@joevandyk joevandyk changed the title Start of adding Rails 6 compatability Start of adding Rails 6 compatibility Sep 9, 2019
@Envek
Copy link
Owner

Envek commented Sep 10, 2019

It looks like failing test is related to Lazy transactions feature.

See how developers of the Isolator gem worked around it: https://github.com/palkan/isolator/pull/20/files#diff-85a7e76d12511ed333927e4fd2b8da1d

@Envek
Copy link
Owner

Envek commented Sep 10, 2019

I will merge your PR and fix Travis builds after few hours. You did all the job for me, thank you!

@Envek Envek changed the title Start of adding Rails 6 compatibility Rails 6 compatibility Sep 10, 2019
@Envek Envek merged commit 00f5782 into Envek:master Sep 10, 2019
@joevandyk
Copy link
Contributor Author

joevandyk commented Sep 10, 2019

Thanks!

Any chance you could release a new gem version?

@Envek
Copy link
Owner

Envek commented Sep 10, 2019

Already released, sorry for the delay! Please grab v0.1.4 from 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.

2 participants