Don't write resources :people, :concerns => :trashable Write resources :people do concerns :trashable end Why Writing a controller...

Let's say you want to find the element with the text hello in the following DOM tree: hello

TL;DR There are three dimensions you can control when scoping routes: scope module: 'module', path: 'url_prefix', as: 'path...

makandra dev

Geordi is now (partially) tested with Cucumber. Yay! geordi cucumber supports a new @solo tag. Scenarios tagged with @solo...

makandra dev
wtfoperamini.com

In developing countries like Nigeria, Opera Mini is used by up to 70% of users on mobile.

makandra dev
github.com

Remove some old binaries (commands still exist in geordi) and mark others as deprecated Rewrite deploy command to support...

makandra dev

When you're using feature branches, they will stack up if you don't delete them after the merge to...

Until recently, you could open a new tab via window.open when using execute_script in Selenium tests. It no longer...

The nokogiri gem provides different packages for several platforms. Each platform-specific variant ships pre-built binaries of libxml2, e.g...

github.com

You know that Devise offers RSpec test helpers for controller specs. However, in request specs, they will not work.

You can now define this step without Cucumber raising Cucumber::Ambiguous: Then /^I should see "whatever I want"$/ do ...

Cucumber raises a Cucumber::Ambiguous if more than one step definitions match a step. Our new cucumber_priority gem provides...

Spreewald 1.4.0 comes with this step: When I click on the element ".sidebar" We recommend to define a selector_for...

Ruby has the class Proc which encapsulates a "block of code". There are 2 "flavors" of Procs: Those with "block...

makandra dev
github.com

Note This card does not reflect the current state of lazy loading technologies. The native lazy attribute could be used...

phili.pe

One useful postgres command I stumbled upon recently was \x. It gives you an expanded display which allows you to...

stackoverflow.com

Ruby has a set of methods to convert an object to another representation. Most of them come in explicit and...

makandra dev

Redactor is yet another WYSIWYG editor. It definitely has its weak points, but I want to point out that it...

What is a Cookie? Google it if you do not know. How are cookies transferred between your browser and...

github.com

When a method has keyword arguments, Ruby offers implicit conversion of a Hash argument into keyword arguments. This conversion is...

This is a guide on how to effectively use Git when working on a feature branch. It is designed to...

postgresonline.com

When working with PostgreSQL, you can use pgAdmin as a GUI. While you can do most things just like on...

blog.intercom.io

A fantastic guide for a dilemma facing any web-based product. Here’s a simple set of Yes/No questions that...

As the web is being used for more and more tasks, expectations rise. Not only should web pages offer rich...