When dealing with AR scopes, you can remove conditions, order, etc by using the unscope method. It is available on...

You can say this in Javascript: $.fn.jquery => "1.11.1"

makandra dev
support.mozilla.org

You cannot find your account passwords in the Account Settings – that'd be too easy. Here is where you find...

makandra dev

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

Rails 4 introduced raising an error on pending migrations. This is most annoying when you are crafting a migration but...

speakerdeck.com

Web fonts are great. They are also be really bad for front-end performance because they block rendering. You may...

stackoverflow.com

Some browsers define window.event, which will return a copy of the "current" event. However, this is not defined by the...

github.com

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

makandracards.com

Writing ruby methods that accept both optional and keyword arguments is dangerous and should be avoided. This confusing behavior will...

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

Starting with Rails 4.0, when you get an exception reported via the ExceptionNotification gem, you will only see a very...

github.com

Rails 5 will introduce ActiveRecord::Relation#or. On Rails 4 and 3.2 you can use the activerecord_any_of gem...

postgresonline.com

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

makandra dev
csstriggers.com

I figure we needed a definitive reference for what work is triggered by changing various CSS properties. It's something...

blog.intercom.io

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

ma.ttias.be

Article shows how to make a script that fakes one kind of content when printed with cat, but uses different...

To safely transport an arbitrary string within a URL, you need to percent-encode characters that have a particular meaning...

makandra dev
developer.chrome.com

In the DevTools settings, there's a "Shortcuts" section. Found these keyboard shortcuts there: General ESC Toggle drawer

bibwild.wordpress.com

While debugging an intricate issue with failed HTTP requests I have come to appreciate the more advanced features of the...

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

When working on a bigger project, the easiest way to improve your work relation with a client or an external...

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...

makandra dev

First install Node.js / npm. Then you can install Bower through npm: sudo npm install -g bower