If you're supporting IE9+, you can listen to input to see if a text field changes. Other than change...

github.com

When working with ActiveType you will often find it useful to cast an ActiveRecord instance to its extended ActiveType::Record...

Note: ActiveRecord::Base#becomes has a lot of quirks and inconsistent behavior. You probably want to use ActiveType.cast instead.

postgresql.org

There is no such thing as a "default order" of rows in database tables. For instance, when you paginate a...

chimera.labs.oreilly.com

HTTP/2 will make our applications faster, simpler, and more robust—a rare combination—by allowing us to undo many of...

google.com

Surprisingly exhaustive new icon set by Google. Available as PNG, SVG and as a icon font. Comment from Henning

Since version 2.6 exception notifier distinguishes between foreground and background sections. The reason is that with background jobs (e.g. methods...

makandra dev
api.rubyonrails.org

ActiveModel supplies an errors object that behaves similar to a Hash. It can be used to add errors to a...

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

When you register a delegated event using on (or the deprecated delegate / live), it is somewhat hard to manually trigger...

caniuse.com

All major browsers (IE8+, FF3.5+, Safari 4+, any Chrome) support sessionStorage, a JavaScript storage object that survives page reloads and...

sslscan is a nice tool to show details about TLS/SSL connections: ~> sslscan some-host-at.makandra.de Testing SSL server some-host-at.makandra.de on port 443...

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

When using Savon to connect a SOAP API, you may want to use Savon::SpecHelper to mock requests in your...

askubuntu.com

I was annoyed that RubyMine's autocompletion did not work via Ctrl+Space for me. In fact, it did not...

After adding a vdisk to an ESXi linux guest you will assert that you can't find a new device...

bevacqua.github.io

Datetime picker that offers: simple UI without a specific framework several of customization options allows custom date/time validations Localization happens...

Investigate why mails are frozen The exim documentation says: Freezing occurs when a bounce message encounters a permanent failure because...

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

forum.openoffice.org

If you're a frequent user of LibreOffice, I strongly recommend to checkout out the VLOOKUP function (SVERWEIS in German...

makandra dev
nexts.github.io

Small (1.5 KB) Javascript library that lets you render tables, lists, etc. with hundreds of thousands of items.

jasmine.github.io

Jasmine has a jasmine.clock() helper that you can use to travel through time and trigger setTimeout and setInterval callbacks: