If you have this problem when you update your FreeBSD Ports: ===>>> Launching child to update ruby19-iconv-1.9.3.547,1 to...
The asset pipeline changes the paths of CSS files during precompilation. This opens a world of pain when CSS files...
We upgraded a Rails 2 application to Rails 3.2 and Ruby 2.1, changed the mysql adapter from mysql to mysql2...
Create beautiful Javascript charts with one line of Ruby. Promising chart library for easily rendering charts with Google Charts.
tl;dr: Use with_index ActiveRecord's find_each with index If you do not provide a block to find...
Nice tutorial about packaging Ruby bindings to your API in a Ruby gem, with tests using VCR casettes.
There are different ways to run rake: On Rails 4.1+ projects, you have Spring and its binstubs which dramatically improve...
The flip-flop operator is a hotly contested feature of Ruby. It's still struggling to find an idiomatic use...
We will be installing rbenv and ruby-build from our own fork, not from the Ubuntu sources. Installing rbenv
If you get an error like this: An error occurred while installing pg (0.17.1), and Bundler cannot continue.
Microsoft Exchange service administrators can enable Exchange Web Services (EWS) which is a rather accessible XML API for interacting with...
require 'net/http' module Cheat extend self # the magic ingredient def host @host ||= 'http://cheat.errtheblog.com/' end def http @http ||= Net...
Great gem to consume RSS feeds. I was missing some features on Ruby's RSS::Parser that I found in...
You know each_with_index from arrays: ['hello', 'universe'].each_with_index do |value, index| puts "#{index}: #{value}" end
So you have placed a breakpoint somewhere and now want to dig around, but not even inspecting variables is working...
Parses URLs of social networks to extract IDs or screen names. It does not get confused by child routes: you...
Spreewald 1.1.0 drops the be_true and be_false matchers in order to be RSpec 3 and Ruby 2 compatible...
The attached post shows some alternative ways to define Strings in Ruby using the percent notation. This can be useful...
This actually works: class Klass def initialize `hi world` end def `(message) puts "Called with backticks: #{message}" end end
Like Railscasts or Ruby Tapas, but for Linux.
The debugger gem does not seem to be properly working on Ruby 2. Use byebug instead! Byebug is a simple...
Automatically builds gems from Bower packages (currently 1700 gems available). Packaged Javascript files are then automatically available in your asset...
If your requests blow up in Ruby or CURL, the server you're connecting to might only support requests with...
This card describes how to pass an array with multiple element to a JavaScript function, so that the first array...