Adam Grzybowski

Tag: ruby

Handling subdomains in RSpec

host! the method allows controlling host sent in RSpec tests. Adding it to RSpec Then using it in RSpec tests

Working with code deprecations in Ruby

Dealing with deprecations warnings can be quite hard. Especially when it comes to tracing all occurrences. Normally you got one line of Deprecation warning and of course, it’s not enough. To track down the deprecation we can use debug config. It should be used in app/application.rb after rails have been loaded and before Bundler loads […]

Back to top