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 support? #2

Open
durkie opened this issue Apr 24, 2020 · 3 comments
Open

Rails 6 support? #2

durkie opened this issue Apr 24, 2020 · 3 comments

Comments

@durkie
Copy link

durkie commented Apr 24, 2020

Have you tried this gem with Rails 6? I just did a quick bundle install after adding it to my Gemfile, and I get a ../.rvm/gems/ruby-2.6.5/gems/quickery-1.3.1/lib/quickery/active_record_extensions.rb:7:in 'included': uninitialized constant Quickery::ActiveRecordExtensions::DSL (NameError) when I try to make an unrelated migration in the database.

Not sure if there's something I'm missing in the install instructions, but it didn't look like it.

@jrpolidario
Copy link
Owner

jrpolidario commented Apr 24, 2020

@durkie Haven't tried on Rails 6 yet (should work). I'll check. Give me a sec :)

@jrpolidario
Copy link
Owner

jrpolidario commented Apr 24, 2020

@durkie On a fresh Rails 6 (v6.0.2.2) app, I wasn't having any problems doing migration but my generator (rails generate quickery:migration ) doesn't work properly in Rails 6 (i'll update this soon)

However, I encountered a segmentation fault just now (replicating the Employee, Branch, and Company models I have in my example):

Screenshot 2020-04-24 at 18 37 46

I'll check what the problem is, and will keep you posted. Thanks for reporting! :)

@durkie
Copy link
Author

durkie commented Apr 24, 2020

excellent! thanks for the fast response.

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

No branches or pull requests

2 participants