You are getting when connecting via SSH or deploying with Capistrano (which uses SSH): Too many authentication failures for username...
...when you run a Selenium test with Capybara. This will help you understand "impossible" behavior of your tests. When you run a Rack::Test (non-Javascript) test with Capybara, there...
...you. But sometimes the complexity will bleed through, causing your tests to show "impossible" behavior. Here is some unexpected behavior caused by the interaction of threads and processes:
Instead of running all missing migrations on your test database with rake db:migrate RAILS_ENV=test you can also...
...Safari, ...) or Firefox, this is only the initial size -- users can resize textareas to become bigger. This is helpful to the user, but may be breaking your application layout in...
This note describes a Cucumber step definition that lets you say: Then "Mow lawn" should be an option for "Activity...
When your JavaScript bundle is so massive that you cannot load it all up front, I would recommend to load...
If you are using scrum in a project you might be familiar with planning poker, a playful way to agree...
Unpoly's [up-observe], [up-autosubmit] and [up-validate] as well as their programmatic variants up.observe() and up.autosubmit...
As attachments to this card you will find a Cucumber feature and supplementing step definition that you can use to...
I had a huge MySQL dump that took forever (as in: days) to import, while I actually just wanted to...
We recently decided to put static content for HouseTrip.com to Amazon Cloudfront for a faster user experience. This happens fully...
When storing files for lots of records in the server's file system, Carrierwave's default store_dir approach may...
Do all of the above, and also Remove all blocks and hooks belonging to craken from your config/deploy.rb. Delete vendor/plugins/craken. Check if you have lib/tasks/craken.rb. If so, delete...
With cd .. you can navigate one directory up from the one you are at now. If you use that a...
The Rails asset pipeline improves delivery of application assets (javascripts, stylesheets, images, fonts). Here are some basic facts about its...
The linked article explains how to get a database-wide lock without creating table rows: This article explains how I...
In Ruby you can communicate between processes with sockets. This might be helpful in tests that validate parallel executions or...
In production, you (or your ops team) should configure a maximum number of bytes that Redis can use to store...
...per group but only one value can be picked for the results. The default behaviour of MySQL prior to version 5.7 will not complain and arbitrarily choose a value. But...
Capybara added a deprecation warning in version 3.35.3 (version from 2019) that shows up if your selector is not of...
...a lot more, you can think of it as a "Browserstack for mail clients". Best practices Use tables for layouting. Use these HTML attributes: align="center", width="100%", valign="top...
...In a second tab, open a preview of your designed HTML mail. It's best to take it from Staging, so that assets (images!) will be available to litmus during...
const wordBreaks = { 'Fahrsicherheitstraining': "Fahr\xADsicherheits\xADtraining", 'Fahrsicherheitszentrum': 'Fahr\xADsicherheits\xADzentrum', 'Kreisverkehrswacht': 'Kreis\xADverkehrswacht', 'Berufsgenossenschaft': 'Berufs\xADgenossenschaft', } const keys = Object.keys(wordBreaks) function textNodes(node){ let textNodes = [] let walk = document.createTreeWalker(node...
...get rather expensive and doing it for every long word does not make it better, but in my case the pages are not very content-heavy and there is no...
Inside before :each blocks you can refer to variables that you introduce via let later on. They do not need...
RubyMine offers you to exclude directories from search, meaning faster search results and less "noise" in the list of result...