Speech bubble icons have become synonymous with comments. When creating yet another one for a standard comment link, it occurred to me that there might be a way to make...
Subfolio provides an elegant, practical and customizable web interface to your file system. Super fast to set-up and use...
When you simply want to get to know Puppet, follow puppetlabs’ Learning Puppet Docs. They give you a handy introduction...
If you get an error like this ... can’t find executable rails for rails-3.2.3 (Gem::Exception) ... one of several...
We have released a new library Gemika to help test a gem against multiple versions of Ruby, gem dependencies and...
There seems to be no way to use therubyracer -v '0.11.4' and libv8 -v '3.11.8.17' on OS X Mavericks.
In Capistrano 2, directories in shared_children used to be symlinked to the shared directory during the finalize_update task...
Ever wondered about the difference between def and define_method? Turns out there are three implicit contexts in Ruby. def...
I am using git at several places: at work, at university, and at home. I want an own git user/email...
When you have a hook in your Capistrano file that dumps your remote database, you might not want it to...
When your system is not running on English, you may sometimes want to run some applications and not use your...
Cucumber raises a Cucumber::Ambiguous if more than one step definitions match a step. Our new cucumber_priority gem provides...
Given you store files on Amazon S3 and you need to stream those files out to people while you don...
Simple: Tell the application controller how to handle exceptions, here a RecordNotFound error. Do this with the following line: # application_controller.rb...
You want to test your 1GE or 10GE internet uplink? We needed to ensure we have full 10GE to the...
An annoying part of using font icons is that the icons usually need to live in the DOM. This is...
...to a hack, like a flag on a service model that makes your methods behave like you are on the correct host. Stub app_host to something like foo.example.vcap.me:12345 (vcap.me...
...an architecture like this: class Building < ActiveRecord::Base end class Building::Room < ActiveRecord::Base belongs_to :building end it won't be possible to guess the right path building => #<Building...
So you have a restangular collection and you want to remove an element from it, after you've successfully deleted...
...you know, assignable_values does not invalidate a record even when an attribute value becomes unassignable. See this example about songs: class Song < ActiveRecord::Base belongs_to :artist
Capistrano has the concept of a "rollback" that comes in really handy in case of errors. When you notice that...
In Rails 3.1+, instead of defining a separate up and down method you can define a single method change:
There is a nasty bug in all version of Rails 2 and some versions of Rails 3.x where two...
When you develop a gem and you have a Gemfile in your project directory, you might be surprised that your...