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

db seeds are not working #155

Open
piotrkedzia opened this issue Jun 14, 2019 · 2 comments
Open

db seeds are not working #155

piotrkedzia opened this issue Jun 14, 2019 · 2 comments

Comments

@piotrkedzia
Copy link

Steps to reproduce

Run standalone-migrations specs

Expected behavior

All tests green.

Actual behavior

Finished in 53.11 seconds (files took 0.598 seconds to load)
61 examples, 2 failures

Failed examples:

rspec ./spec/standalone_migrations_spec.rb:316 # Standalone migrations db:seed loads
rspec ./spec/standalone_migrations_spec.rb:335 # Standalone migrations db:seed with non-default seed file loads

System configuration

Ruby version 2.6.1

Source of the issue

rails/rails#35782

@alexander-saratovcev
Copy link

alexander-saratovcev commented Aug 4, 2019

Same issue:

Ruby version 2.6.3
standalone_migrations (5.2.7)

NoMethodError: undefined method `active_job' for #<Rails::Application::Configuration:0x0000000001c50d40>

@yantene
Copy link

yantene commented Aug 14, 2019

Adding the following line to Rakefile seems to work correctly.
Is this supposed usage?

require 'active_job/railtie'

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

3 participants