If you have problems installing a gem and get a error collect2: error: ld returned 1 exit status it's...

If the project team consists of at least 2 members, do a daily standup. It should not take much longer...

We organize our daily work with issues in our Linear workspace. Issue format A good issue needs to be precise...

When starting a project we always make a good estimate of all known requirements, and plan budgets and available developers...

PhantomJS has no binary builds for Linux, and building it yourself is painful. However, you can install it through npm...

digitalocean.com

I recommend install Node.js using nvm. This way you can have multiple Node versions in your ~/.nvm. You also won...

makandra dev
github.com

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

devdocs.io

All browsers + IE9 know the CSS :empty selector. It lets you hide an element when it has no content, i.e...

makandra dev
netvlies.nl

Looking for a way to embed raster images for both low- and high-DPI displays, this developer had some good...

Ruby has Enumerable.find(&block), which returns the first item in the collection for which the block evaluates to true.

To update your Rubygems to the latest available version, type the following: gem update --system Note that you have a...

slideshare.net

Interesting talk about a team that integrated automated security testing into their BDD workflow. There is also a video of...

On Ruby 1.9+, standard ruby character classes like \w, \d will only match 7-Bit ASCII characters: "foo" =~ /\w+/ # matches...

You may encounter problems with passenger starting an application with an updated rails. If you find an error like this...

You can include files from app/assets or from the public folder with javascript_include_tag. The subtle difference that tells...

As you most likely know validates_uniqness_of :foreign_id does not allow nil values by default.

makandra dev

Each time thin boots, it prints a boot message : Thin web server (v1.6.3 codename Protein Powder) Maximum connections set to...

A word of caution There should rarely be a reason for you to split up config/routes.rb. If you need to...

Here is how to start your Rails application to accept both HTTP and HTTPS in development. gem install passenger

makandra dev
bootswatch.com

Free Bootstrap theme resembling Material Design. Bootswatch offers Sass and Less files, so the theme can easily be integrated into...

makandra dev

CTRL + SHIFT + ALT + N Search for any symbol in your application, like CSS classes, Ruby classes, methods, helpers etc...

In tests, it is sometimes useful to create records with specific ids. On PostgreSQL this can cause problems: Usually, PostgreSQL...

Jasmine comes with two matchers that test for equality. The first is toBe: expect(first).toBe(second) toBe passes when...

The migration DSL now supports adding and removing foreign keys. They are dumped to schema.rb as well. At this time...