leoplct

Results 36 comments of leoplct

rails (6.0.3.4) ruby 2.7.1

I am not sure about. It's not present in the Gemfile, but i found this in Gemfile.lock. I've tried to delete Gemfile.lock and re "bundle install" but it's still being...

I have tried both options but I got the same error. I have tried to comment all inside "Application" class but it's the same. I think it's something related to...

ok, It seems the issue it's caused by `gem 'resque'` it works if I remove this gem.

Any updates on this? I have updated to 2.0 but still getting the same error ``` User.with(test: User.all) NoMethodError (undefined method `with' for #) ```

Great! This works for me too.

I found the problem is due to "integer" comparison vs "String" This works. stub_request(:get, "example.com").with(query: hash_including({"a" => "1"})) p Net::HTTP.get(URI('http://example.com/?a=1&b=2&x=1'))

I think it makes sense to automatically cast everything to string before doing the Hash diff

I've changed to `Regexp.new("data\?id=#{id}"))` but still got as registered request stubs. Those looks as string instead of regular expressions. ``` stub_request(:get, "/data?id=190378479254287/") stub_request(:get, "/data?id=469564718846159/") stub_request(:get, "/data?id=219568718840145/") stub_request(:get, "/data?id=92953585819680/") stub_request(:get, "/data?id=210300159181943/")...