Rails comes with grouped_collection_select that appears to be useful, but isn't. As an alternative, consider the flat...

Note: Making a reverse proxy with nginx is much more straightforward. A reverse proxy is a "man in the middle...

When you have an element you want to hide, you can add a ng-show='isOpen' attribute to that element...

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

You know that ActiveRecord caches associations so they are not loaded twice for the same object. You also know that...

makandra dev
relishapp.com

RSpec 3 has verifying doubles. This breed of mock objects check that any methods being stubbed are present on an...

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

help.github.com

Please don't simply copy line number links from Github. The URL usually contains a branch name like master which...

patrickmarabeas.github.io

Webfonts are not always available when your JavaScript runs on first page load. Since fonts may affect element sizes, you...

makandra dev
stackoverflow.com

When a CSS3 animation makes the animated element flicker, it may well be due to pixel fragments being handled differently...

The CSS property z-index is not as global as you might think. Actually, it is scoped to a so...

If you want to load an SQL dump from an ActiveRecord migration, you might find this to be harder than...

If you get this error (probably because you want to load some modules): # modprobe xt_comment FATAL: Could not load...

I couldn't successfully execute a simple iptables command and got this error on an Ubuntu server: # /sbin/iptables -I INPUT...

makandra dev
github.com

Geordi 1.0 features a command line application geordi, that holds most of Geordi's previous commands. New features

github.com

Jonas Nicklas, the author of Carrierwave and Capybara, has released Refile, a gem for handling file uploads in Rails. It...

makandra dev
github.com

This jasmine plugin helps with testing DOM manipulation in two ways: It gives you DOM-related matchers like toBeVisible() or...

makandra dev
api.rubyonrails.org

Rails includes a way to see what an e-mail will look like. Integration to RSpec All you need to...

It might happen that your Sidekiq queue gets stuck, hanging at 0% CPU load. When we inspected the process using...

svnweb.freebsd.org

If you have trouble updating something on FreeBSD you should always take a look in the UPDATING file.

Upgrading from Ruby 1.8.7 to 2.1.2 took me an hour for a medium-sized application. It involved hardly any changes...

github.com

Using this gem I could get JSON generation from a large, nested Ruby hash down from 200ms to 2ms.

api.rubyonrails.org

To avoid n+1 queries, you want to eager-load associated records if you know you need to access them...

zerosixthree.se

See attached link. The gist is: .element { position: relative; top: 50%; transform: translateY(-50%); } Works in all web browsers and...