Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@coorasse
Copy link

@coorasse coorasse commented May 8, 2019

Adds support for Rails 6.0 and adds ruby 2.5 and 2.6 to the build matrix on Travis.

@coorasse coorasse force-pushed the activerecord_6_0_support branch from 9b30fe8 to 28dbbd4 Compare May 8, 2019 12:49
@coorasse coorasse force-pushed the activerecord_6_0_support branch from e42098a to 7889da6 Compare May 8, 2019 12:59
@scones
Copy link

scones commented May 28, 2019

An error occurred while loading spec_helper.
Failure/Error: require 'nulldb_rspec'

NameError:
 uninitialized constant ActiveRecord::ConnectionAdapters::SchemaDumper
 Did you mean?  ActiveRecord::ConnectionAdapters::SchemaCache
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:5:in `<module:ConnectionAdapters>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:4:in `<module:ActiveRecord>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:3:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract_adapter.rb:6:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/active_record/connection_adapters/nulldb_adapter.rb:7:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/nulldb_rspec.rb:1:in `<top (required)>'
# ./spec/spec_helper.rb:1:in `<top (required)>'
# ------------------
# --- Caused by: ---
# LoadError:
#   cannot load such file -- nulldb_rspec
#   ./spec/spec_helper.rb:1:in `<top (required)>'

I am getting this error on your branch tho.

I am not sure, if i set it up incorrectly, or if this is a problem with the branch.

@coorasse
Copy link
Author

does it happen also for the master branch of the gem on github? or only on my branch?

@scones
Copy link

scones commented May 29, 2019

yes, same error.

@scones
Copy link

scones commented May 29, 2019

Failure/Error: require 'nulldb_rspec'

NameError:
  uninitialized constant ActiveRecord::ConnectionAdapters::SchemaDumper
  Did you mean?  ActiveRecord::ConnectionAdapters::SchemaCache

# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:5:in `<module:ConnectionAdapters>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:4:in `<module:ActiveRecord>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:3:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract_adapter.rb:6:in `require'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract_adapter.rb:6:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/active_record/connection_adapters/nulldb_adapter.rb:7:in `require'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/active_record/connection_adapters/nulldb_adapter.rb:7:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/nulldb_rspec.rb:1:in `require'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/nulldb_rspec.rb:1:in `<top (required)>'
# ./spec/spec_helper.rb:1:in `require'

different trace tho.

@monotek
Copy link

monotek commented Jul 16, 2019

The build seems to be green meanwhile.
Any chance to see this merged soon?

@mnoack
Copy link
Member

mnoack commented Jul 16, 2019

Is someone able to be a maintainer of this project. You don't need to do too much, just oversee PR's like this and review/merge as needed (you can then review/merge this diff).

Ping me if you're interested and I can add you to the project.

Unfortunately I don't use this project anymore so I have stepped back to facilitate others who are able to maintain it.

@monotek
Copy link

monotek commented Jul 17, 2019

I guess i'm not the right person but what about creating a pinned "call for maintainers" issue?

@mnoack
Copy link
Member

mnoack commented Jul 17, 2019

I think we can find a maintainer. Feel free to post an issue and mention people who might be interested, people here are all forking this project (and then others are using this code) so there's already lots of effort to use this code.

I think the main issue is people think they are signing up for work (they aren't). They are probably going to just review one Pull Request every month and it'll be a easy merge or request changes.

Or people are worried they are now responsible (they aren't, those who update the gem need to test, and it's only a test gem anyway).

@coorasse
Copy link
Author

if you have the permissions, add me and I'll merge and release 😄

@cabello cabello merged commit b216a1f into nulldb:master Jul 22, 2019
@gregorw
Copy link

gregorw commented Jul 22, 2019

[…] it's only a test gem anyway.

We use it in production ;)

@cabello
Copy link

cabello commented Jul 22, 2019

I am just waiting on @mnoack to sort it out how we gonna publish the next release to Rubygems. :)

@mnoack
Copy link
Member

mnoack commented Jul 22, 2019

@cabello What's your rubygems email so I can give you permission, also I'll get it done quicker if you can tell me the command to run, from memory it's something like "gem owner nulldb --add youremail"

@mnoack
Copy link
Member

mnoack commented Jul 22, 2019

Done.

@n0um3n4
Copy link

n0um3n4 commented Dec 3, 2020

Failure/Error: require 'nulldb_rspec'

NameError:
  uninitialized constant ActiveRecord::ConnectionAdapters::SchemaDumper
  Did you mean?  ActiveRecord::ConnectionAdapters::SchemaCache

# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:5:in `<module:ConnectionAdapters>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:4:in `<module:ActiveRecord>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:3:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract_adapter.rb:6:in `require'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract_adapter.rb:6:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/active_record/connection_adapters/nulldb_adapter.rb:7:in `require'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/active_record/connection_adapters/nulldb_adapter.rb:7:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/nulldb_rspec.rb:1:in `require'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/nulldb_rspec.rb:1:in `<top (required)>'
# ./spec/spec_helper.rb:1:in `require'

different trace tho.

@scones did you manage a workaround?

@n0um3n4 n0um3n4 mentioned this pull request Dec 3, 2020
@n0um3n4
Copy link

n0um3n4 commented Dec 3, 2020

An error occurred while loading spec_helper.
Failure/Error: require 'nulldb_rspec'

NameError:
 uninitialized constant ActiveRecord::ConnectionAdapters::SchemaDumper
 Did you mean?  ActiveRecord::ConnectionAdapters::SchemaCache
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:5:in `<module:ConnectionAdapters>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:4:in `<module:ActiveRecord>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:3:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract_adapter.rb:6:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/active_record/connection_adapters/nulldb_adapter.rb:7:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/nulldb_rspec.rb:1:in `<top (required)>'
# ./spec/spec_helper.rb:1:in `<top (required)>'
# ------------------
# --- Caused by: ---
# LoadError:
#   cannot load such file -- nulldb_rspec
#   ./spec/spec_helper.rb:1:in `<top (required)>'

I am getting this error on your branch tho.

I am not sure, if i set it up incorrectly, or if this is a problem with the branch.

@scones
I found the reason: #100

@scones
Copy link

scones commented Dec 9, 2020

Failure/Error: require 'nulldb_rspec'

NameError:
  uninitialized constant ActiveRecord::ConnectionAdapters::SchemaDumper
  Did you mean?  ActiveRecord::ConnectionAdapters::SchemaCache

# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:5:in `<module:ConnectionAdapters>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:4:in `<module:ActiveRecord>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:3:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract_adapter.rb:6:in `require'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract_adapter.rb:6:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/active_record/connection_adapters/nulldb_adapter.rb:7:in `require'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/active_record/connection_adapters/nulldb_adapter.rb:7:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/nulldb_rspec.rb:1:in `require'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/nulldb_rspec.rb:1:in `<top (required)>'
# ./spec/spec_helper.rb:1:in `require'

different trace tho.

@scones did you manage a workaround?

@thelastinuit no, i uncommented the gem and mocked all Models. so i actually had to set up a test db on my production mysql server to ensure flawless CI/CD. not the best solution, but it works.

but it seems like you found a solution yourself.

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.

7 participants