...deployment output appear less noisy, it also hides information that could be helpful. I believe you should prefer knowing what is going on, even if causes a few extra lines...

To open a terminal quickly navigate to System → Preferences → Keyboard Shortcuts. There, click the "Run a terminal" row (It should...

Run bundle update cucumber capybara cucumber-rails to update to the newest versions. Backup your features/support/path.rb to be able to...

...browser. You don't need CoffeeScript or an ES6 transpiler like Babel. A cosmetic benefit is that the module pattern works without the use of this or prototypes. Example

...methods") would not be unstubbed before the next example, causing it to fail. This behavior can come and go as you edit your specs, since this can change the order...

...evaluates your .rb files. I was not able to find a fix for this behavior. Calling #rspec_reset und #unstub!(:method) on the class after the example did not help...

makandra dev
thecssninja.com

Sometimes you want to preload images that you will be using later. E.g. if hovering over a an area changes...

Sometimes you want to test migrations with production or staging data. Dumping single tables makes sense if a complete dump...

Did you know you can do in-place batch processing with plain ruby? The following script will in-place replace...

web.archive.org

...forward than I had expected. And, it turns out Internet Explorer’s RFC-incompliant behaviour makes it safer to host your websites with a www-prefix, so www.mxsasha.eu instead of...

Puma allows you to specify the max and min threads. In development this could be useful if you use a...

makandra dev

...them by spaces: /alertson KEYWORD1 KEYWORD2 Keywords are case-insensitive. To revert to standard behaviour, use simply /alertson List of Skype commands

When running an older version of docker-compose you might see the following error: ERROR: Version in "./docker-compose.yml" is unsupported...

The method cookies is defined in the ActionController and should never be overwritten. Bad example class StaticPagesController < ApplicationController

css-tricks.com

...cannot detect whether a browser will do something useful with a tel: link. Your best options seem to be: Don't have tel: links and rely on the mobile browsers...

If Sunspot does not work and fails with a backtrace similar to this: /project/shared/bundle/ruby/1.8/gems/rsolr-1.0.6/lib/rsolr/client.rb:227:in `adapt_response' /project/shared/bundle/ruby/1.8/gems/rsolr-1.0.6/lib/rsolr/client.rb:164...

Spreewald now comes with a step that tests if a form field is visible: Then the "Due date" field should...

devblog.imedo.de

XPath matchers can be combined with CSS-selector matchers. This is really useful if not, for example, the content of...

makandra dev
github.com

SitePrism gives you a simple, clean and semantic DSL for describing your site using the Page Object Model pattern, for...

You can scale background images in CSS to the container size using background-size (Demo). Commonly, we use contain or...

ruby-toolbox.com

If you need a gem for a certain purpose, be sure to check this site. The rankings are determined by...

leomayleomay.github.io

Your after_commit callbacks will not know about changes, as Rails discards them when committing. The linked article shows a...

makandra dev
github.com

Bourbon is a library of pure Sass mixins that are designed to be simple and easy to use. No configuration...

Modern cameras often produce JPEGs that have a "I should be rotated 90° to the left" flag. If you process...

If your project depends on an old version of ImageMagick that you can no longer install in your system, you...