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

wrong number of arguments (ArgumentError) with Sequel v. 3.4-3.8 inclusive #1

Open
danascheider opened this issue Sep 6, 2014 · 0 comments
Labels

Comments

@danascheider
Copy link
Owner

Testing with Sequel versions 3.4 through 3.8 (using appraisal rake spec), throws the following errors:

/home/dscheider/.rvm/gems/ruby-2.1.2/gems/sequel-3.8.0/lib/sequel/model/default_inflections.rb:4:in `block in ': wrong number of arguments (1 for 0) (ArgumentError)
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/sequel-3.8.0/lib/sequel/model/inflections.rb:99:in `instance_eval'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/sequel-3.8.0/lib/sequel/model/inflections.rb:99:in `'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/sequel-3.8.0/lib/sequel/model/inflections.rb:25:in `'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/sequel-3.8.0/lib/sequel/model/inflections.rb:1:in `'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/sequel-3.8.0/lib/sequel/core.rb:165:in `require'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/sequel-3.8.0/lib/sequel/core.rb:165:in `block in require'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/sequel-3.8.0/lib/sequel/core.rb:165:in `each'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/sequel-3.8.0/lib/sequel/core.rb:165:in `require'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/sequel-3.8.0/lib/sequel/model.rb:111:in `'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/sequel-3.8.0/lib/sequel/model.rb:3:in `'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/sequel-3.8.0/lib/sequel.rb:1:in `require'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/sequel-3.8.0/lib/sequel.rb:1:in `'
    from /home/dscheider/Development/sinatra-sequel_extension/lib/sinatra/sequel.rb:3:in `require'
    from /home/dscheider/Development/sinatra-sequel_extension/lib/sinatra/sequel.rb:3:in `'
    from /home/dscheider/Development/sinatra-sequel_extension/spec/spec_helper.rb:16:in `require'
    from /home/dscheider/Development/sinatra-sequel_extension/spec/spec_helper.rb:16:in `'
    from /home/dscheider/Development/sinatra-sequel_extension/spec/sequel_sinatra_spec.rb:1:in `require'
    from /home/dscheider/Development/sinatra-sequel_extension/spec/sequel_sinatra_spec.rb:1:in `'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/rspec-core-3.1.1/lib/rspec/core/configuration.rb:1105:in `load'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/rspec-core-3.1.1/lib/rspec/core/configuration.rb:1105:in `block in load_spec_files'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/rspec-core-3.1.1/lib/rspec/core/configuration.rb:1105:in `each'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/rspec-core-3.1.1/lib/rspec/core/configuration.rb:1105:in `load_spec_files'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/rspec-core-3.1.1/lib/rspec/core/runner.rb:96:in `setup'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/rspec-core-3.1.1/lib/rspec/core/runner.rb:84:in `run'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/rspec-core-3.1.1/lib/rspec/core/runner.rb:69:in `run'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/rspec-core-3.1.1/lib/rspec/core/runner.rb:37:in `invoke'
    from /home/dscheider/.rvm/gems/ruby-2.1.2/gems/rspec-core-3.1.1/exe/rspec:4:in `'
/home/dscheider/.rvm/rubies/ruby-2.1.2/bin/ruby -I/home/dscheider/.rvm/gems/ruby-2.1.2/gems/rspec-core-3.1.1/lib:/home/dscheider/.rvm/gems/ruby-2.1.2/gems/rspec-support-3.1.0/lib /home/dscheider/.rvm/gems/ruby-2.1.2/gems/rspec-core-3.1.1/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed

Probably a simple fix. Will look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant