If you have to build a filename (e.g. for use in downloads) that contains user input, keep in mind that...
My RubyMine (and it seems like many other Java GUI applications) crashes the Compiz window decorator almost every time on...
If you want to use a helper_method my_helper_method inside a model, you can write ApplicationController.helpers.my_helper...
When you encouter an unsafe string that you actually made html_safe before, perhaps you called one of the following...
When CoffeeScript was added to Rails 3.1 they forgot one very important part, the ability to use it when responding...
Get "PuTTY Link" and "Pageant" (an SSH key agent) from the PuTTY download page. Run pageant.exe, find its icon inside...
Consider the following: describe '#something' do context 'with lots of required arguments' do it 'should work' do subject.something(:foo => 'foo...
This card explains how to upgrade an existing RubyMine installation to a newer version. If you're installing RubyMine for...
If you are connected with a network that forbids e-mail traffic but allows SSH, you can tunnel your e...
In older Ubuntu releases you could ALT+drag any panel bar to another position and/or monitor. In Ubuntu 11.04 Natty...
To activate the shell command, go to Tools > Create Command-line Launcher and confirm. Now you have mine as bash...
We recently added custom fields to Highrise which allow you to keep track of extra details beyond standard contact information...
An ancient essay on software design that, after 20 years, should still guide you for every line of code you...
All you need to know about the rise and fall of programming languages. Not really related to the worse is...
If you encounter above mentioned failiure message after installing the ruby-debug gem then you have to explicitly require linecache...
When rendering a number, you want to pretty up the string coming from #to_s: Render 0.0 as 0
Sass comes with many built-in functions to manipulate color. Some of the more interesting functions include: adjust-hue($color...
Most web applications contain several examples of state machines, including accounts and subscriptions, invoices, orders, blog posts, and many more...
Yesterday, there was a blog post entitled “What the Hell is Happening to Rails” that stayed at the number one...
You can unpack a .tar.gz file into the current directory like this: tar -xzvf archive.tar.gz The options used are
Because your examples should not change global state, you should not need to care about the order in which RSpec...
I encountered a bug in RSpec 1.x where stubbed class methods ("static methods") would not be unstubbed before the...
I pushed a new version of the Cucumber Factory gem. This new release lets you refer to a previously created...
Choosing the right product to develop is crucial. Great execution is also very important. But if you develop a product...