Software engineering principles Read about the following software engineering principles and code smells: Single Responsibility Principle Law of Demeter

When running capybara with Chrome you might start seeing frequent "no alert open" errors when trying to interact with browser...

makandra dev

This blew my mind today: 12 Little-Known CSS Facts 12 Little-Known CSS Facts (The Sequel) Please make sure...

Large projects usually have large test suites that can run for a long time. This can be annoying as running...

makandra Curriculum

Understand the differences between git diff and git diff --staged (or git diff --cached) Understand the difference between git...

Get an idea of the varying support for HTML/CSS/JavaScript features in different browsers like Chrome, Firefox, Internet Explorer, Edge...

Learn to treat files as an ActiveRecord attribute type, like :string or :integer Research Look at the README for...

In most of our applications, users have their first and last name stored in separate columns. However, specifying them separately...

makandra Curriculum

Understand at least the following CSS concepts: Classes Selecting elements for styling Basic styling (color, typography, spacing)

makandra Curriculum

Understand why we test: Low defect rate without a QA department. Customer acceptance testing can concentrate on new features...

If you need to follow links, click buttons, etc. using Capybara inside an , you can do it like this:

makandra dev
semaphoreci.com

Capistrano 3 is a major rework of the framework and requires several adjustments to your deploy configuration files. The biggest...

github.com

If you have FactoryGirl traits like this: factory :movie do title 'Sunshine' year 2007 trait :vintage do year 1951

Please don't use the horrible datetime_select helper. It has a terrible UI. Always prefer to use a visual...

You might wonder about this request in your test.log: Started GET "/__identify__" for 127.0.0.1 at 2015-04-29 18:00...

github.com

jquery-placeholder is a simple jQuery plugin that enables form placeholders in browsers that do not support them natively, i.e...

makandra dev
plugins.jetbrains.com

There are times when you have a chunk of text that you want to do something with, e.g. replace something...

If you want to grow a Ruby Array, you might find out about #fill but it is not really what...

makandra dev

Code folding is a very useful feature to me. It gives me a quick overview over a file and keeps...

makandra dev
dncmagazine.blob.core.windows.net

This cheat sheet...

...aims at providing a quick reference to the most commonly used features in AngularJS.

When ending a Selenium test Capybara resets the browser state by closing the tab, clearing cookies, localStorage, etc.

If you want to rotate text, you can use CSS transforms in somewhat modern browsers to rotate the container element...

Here's a pretty useful steps that hasn't made it into Spreewald yet. It is best used with the...

robots.thoughtbot.com

Good article about window functions. Also note how they use a postgres feature called common table expressions.