First find the reference for the entry you want through looking at the stash: $ git stash list stash@{0}: WIP...

Sometimes huge refactorings or refactoring of core concepts of your application are necessary for being able to meet new requirements...

smashingmagazine.com

A comprehensive introduction to sending HTML emails. Intro: HTML email: Two words that, when combined, brings tears to a developer...

Ruby's regular expressions can be represented differently. When serializing them, you probably want to use inspect instead of to...

If you get an error like this for a puppet mount: $ > puppet agent --test Info: Retrieving pluginfacts Info: Retrieving plugin...

So you're getting an error like this: undefined method `activate_bin_path' for Gem:Module (NoMethodError)

If your Carrierwave uploader dynamically generates the filename (e.g. by incorporating a user's name), you must call model.save! after...

TL;DR: Update the 'net-ssh' gem by adding to your Gemfile: gem 'net-ssh', '=2.9.1' Now run bundle update...

So you're getting this failure when running bundle install on an older project: Your Gemfile.lock is corrupt. The following...

You can use three different versions of the regular expression syntax in grep: basic: -G extended: -E(POSIX)

This method will remove automatically installed packages that no other packages depend on any more. This, of course...

When giving a presentation with a projector it is sometimes better to use a dual screen layout instead of a...

github.com

When running tests via parallel_tests, you may encounter an error: cannot load such file -- parallel_tests/gherkin/runtime_logger Error creating formatter...

clipboardjs.com

We used zeroclipboard.js in some of our projects but now we switched to clipboard.js because it does not rely on...

In order to have monitoring for Sidekiq (like queue sizes, last run of Sidekiq) your application should have a monitoring...

api.rubyonrails.org

When working with custom transactions and use ActiveRecord::Rollback you may encounter unexpected behaviour if you try to roll back...

If you are fine with the default console diff most of the time but only sometimes want to use an...

If you want to find the commits that touched a specific text in a file, use git log -S 'text...

Using the -U parameter you can change how many lines are shown above and below a changed section.

You might get the above error message when cloning certain git repositories (for example the rails repository). It indicates that...

Detect if a gem has been activated A gem is activated if it is either in the current bundle (Gemfile.lock...

To get your F12 key back for other shortcuts, stop Tilda: killall tilda To prevent Tilda from starting on boot...

github.com

We have released a new library Gemika to help test a gem against multiple versions of Ruby, gem dependencies and...

Similar to our snippet that runs all Cucumber features matching a given string, the following will run all modified or...