Restangular can make use of $http's built-in response cache. # Cache response for single request Restangular.one('accounts', 123).withHttpConfig...

To bind an HTML value to ng-bind-html, you need to mark it as "trusted" first. Among other ways...

Firefox 5.0.1, which we were using for most Rails 2.3 projects, does not run on Ubuntu 14.04 any more. Here...

Just install the texlive-xetex package: sudo apt-get install texlive-xetex Running integration tests without texlive-xetex will produce...

github.com

JavaScript structures that include circular references can't be serialized with a"plain" JSON.stringify. Example: a = { name: 'Groucho' };

engineyard.com

Nice tutorial about packaging Ruby bindings to your API in a Ruby gem, with tests using VCR casettes.

In Thunderbird, you can set custom font faces and sizes for reading plain-text e-mails. However, Thunderbird sometimes "randomly...

There are different ways to run rake: On Rails 4.1+ projects, you have Spring and its binstubs which dramatically improve...

Let's say you have two screens: Show a given project Show a report for all projects Ideally you want...

makandra dev
github.com

PDFKit converts a web page to a PDF document. It uses a Webkit engine under the hood...

makandra dev

When using jQueryUI's Sortable plugin (either directly or via Angular's ui.sortable), you might struggle testing your nice drag...

Microsoft Exchange service administrators can enable Exchange Web Services (EWS) which is a rather accessible XML API for interacting with...

In Cucumber, scenario outlines help avoiding tests that are basically the same, except for a few variables (such as different...

makandra dev

When you don't only have a favicon.ico in your project but also PNGs of different sizes and backgrounds, you...

Safari on iOS accepts an apple-touch-icon favicon that is used for stuff like desktop bookmarks. Always define a...

makandra dev
github.com

The debugger gem does not seem to be properly working on Ruby 2. Use byebug instead! Byebug is a simple...

If your requests blow up in Ruby or CURL, the server you're connecting to might only support requests with...

In whenever you can schedule Ruby code directly like so: every 1.day, :at => '4:30 am' do runner "MyModel.task_to...

Aruba is an extension to Cucumber that helps integration-testing command line tools. When your tests involve a Rails test...

blog.salsify.com

An all-in-approach to fix the problem of pending AJAX requests dying in the browser when the server ends...

github.com

Using this gem, whenever a Capybara test in Cucumber, Rspec or Minitest fails, the HTML for the failed page and...

Travis CI is a free continuous integration testing service. However, it is really fragile and will break more than it...

RSpec 3.0 deprecates the :should way of writing specs for expecting things to happen. However, if you have tests you...

Sometimes you're getting an ActiveSupport deprecation warning that you cannot or don't want to fix. In these cases...