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...
When rendering a number, you want to pretty up the string coming from #to_s: Render 0.0 as 0
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...
Choosing the right product to develop is crucial. Great execution is also very important. But if you develop a product...
geordi, our collection of awesome shell scripts, has been extended by three scripts to help you call RSpec or Cucumber...
you should always has_many :join_models, :dependent => :destroy
Ubuntu natty introduced new "invisible" scrollbars for GTK programs such as gEdit or Nautilus. If you do not like them...
When using gnome-open (i.e. double-clicking a file, telling to browser to open a download, etc.) on Ubuntu you...
For Email-Patterns see most recent E-Mail-Pattern. HOST = /\A[a-z0-9]+[a-z0-9\-\.]*[a-z0-9...
My front audio output would not work even though the front mic input did fine. The Pulse Audio mixer (= Ubuntu...