Closed ipatovanton closed 6 years ago
I use ruby 2.5.0, rails 5.2 and mongoid 7.0
MacBook-Pro-Anton:tm ipatov$ rake mongoid_slug:set /Users/ipatov/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/mongoid-slug-5.3.3/lib/tasks/mongoid_slug.rake:7: warning: constant ::TimeoutError is deprecated /Users/ipatov/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/mongoid-slug-5.3.3/lib/tasks/mongoid_slug.rake:7: warning: constant ::Fixnum is deprecated /Users/ipatov/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/mongoid-slug-5.3.3/lib/tasks/mongoid_slug.rake:7: warning: constant ::Bignum is deprecated /Users/ipatov/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/mongoid-slug-5.3.3/lib/tasks/mongoid_slug.rake:7: warning: constant ::Data is deprecated
So these are warnings, the task actually succeeds, right?
No, nothing happened after this
after 10 minutes is completed
It could use some logging, feel free to PR both that and a fix for these warnings.
Resolved in https://github.com/mongoid/mongoid-slug/commit/f732b7aad79c82dacc6c41629a1001a30d042da8.
I use ruby 2.5.0, rails 5.2 and mongoid 7.0