To find and replace (CTRL + H) empty cells in Libre Office Calc you can use a regular expressions (also called...
Summary: Don't add chromedriver-helper to the Gemfile the executables might break your tests in projects where chromedriver-helper...
You are not using javascript tests The file is served from a public folder (not via controller) Problem description...
Download the dictionary from http://www.winedt.org/dict.html, e.g. http://www.winedt.org/dict/de_neu.zip unzip de_neu.zip mkdir ~/Documents/dic iconv -f UTF-16 -t...
Let's say you have a folder images and want to to move all files in there to a new...
You need to set the :inverse_of option manually for relations that have an association to a polymorphic model. Otherwise...
If another session is accessing your database you are trying to reset or drop you might have seen the following...
Use return to return from a method. return accepts a value that will be the return value of the...
before(:all) runs the block once before all of the examples. before(:each) runs the block once before each...
There are many approaches out there how you can import data from a legacy application to a new application. Here...
You can not use the hash_including argument matcher with a nested hash: describe 'user' do let(:user) { {id: 1...
Follow the instructions here. PRs at makandra/rubocop-config are welcome. Also check the issue tracker. RubyMine Since version 2017-1 RubyMine...
When using geordi for integration tests you might get the following error when trying to run geordi cucumber:
Rails default config uses the ActiveSupport::Cache::NullStore and disables controller caching for all environments except production: config.action_controller.perform_caching = false...
Webmocks hash_including is similar to RSpec::Mocks::ArgumentMatchers#hash_including. Be aware that hash_including (webmock v3.0.1) doesn't...
Typhoeus has a different way of representing array params in a get request than RestClient. Typhoeus: http://example.com/?foo[0]=1&foo[1]=2&foo[2]=3
Separate subject from body with a blank line Limit the subject line to 50 characters (max. 72), include reference (unique...
In case you want to require a gem, that is not in the Gemfile of you bundle and therefore not...
Solved with flexbox is a collection of css problems which were hard or impossible to solve without flexbox: Better, Simpler...
For the initial setup or changes in the sentry reporting it might be useful to enabled reporting of sentry in...
You can start vim with a read-only option. This prevents making accidentally changes in files you don't want...
A collection of code snippets which return a boolean value for a regex comparison. regexp.match?(string) # Recommended for Ruby >= 2.4...
Adding a gem means you take over the liability towards the external code. Checklist Based on "To gem, or not...
Chrome gives you the currently selected element in the inspector with $0. If you select a button in the DOM...