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

Latest Sequel version triggers deprecation warnings in state_machine #354

Open
Aryk opened this issue Jun 6, 2017 · 0 comments
Open

Latest Sequel version triggers deprecation warnings in state_machine #354

Aryk opened this issue Jun 6, 2017 · 0 comments

Comments

@Aryk
Copy link

Aryk commented Jun 6, 2017

SEQUEL DEPRECATION WARNING: Sequel::Model.def_dataset_method is deprecated and will be removed in Sequel 5.  Define the method inside a dataset_module block, or use the def_dataset_method_plugin.
/gems/sequel-4.46.0/lib/sequel/model/base.rb:452:in `def_dataset_method'
/gems/state_machine-1.2.0/lib/state_machine/integrations/sequel.rb:443:in `create_scope'
/gems/state_machine-1.2.0/lib/state_machine/integrations/sequel.rb:431:in `create_with_scope'
/gems/state_machine-1.2.0/lib/state_machine/machine.rb:2177:in `block (2 levels) in define_scopes'
/gems/state_machine-1.2.0/lib/state_machine/machine.rb:2174:in `each'
/gems/state_machine-1.2.0/lib/state_machine/machine.rb:2174:in `block in define_scopes'
/gems/state_machine-1.2.0/lib/state_machine/machine.rb:2173:in `each'
/gems/state_machine-1.2.0/lib/state_machine/machine.rb:2173:in `define_scopes'
/gems/state_machine-1.2.0/lib/state_machine/machine.rb:578:in `initialize'
/gems/state_machine-1.2.0/lib/state_machine/machine.rb:449:in `new'

Will you guys accept a PR to fix this issue?

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

1 participant