You cannot say this because url_for only takes one parameter: url_for(@deal, :tab => 'general') # won't work
We usually generate our commit messages from Pivotal Tracker IDs and titles, like [#15775609] Index view for conflicts
VirtualBox does not offer anything for this task -- you need to do it yourself. It's not that hard:
When you generate a URL in a mailer view, ActionMailer will raise an error unless you previously configured it which...
Thunderbird 5 brings a custom chrome on Windows Vista/7 that uses translucent Aero decorations on toolbars and menubars. Here is...
To test if you can connect to a host using password authentication and explicitly deny public key authentication:
Here is how to switch your Selenium to Chrome: Make sure you've got a recent version of chromedriver in...
If you want to have an English Ubuntu UI, but still see dates, money amounts, paper formats, etc. in German...
Sometimes, when running a rake task, RubyGems 1.8.5 raises an error: rake aborted! undefined method `specifications' for "/usr/lib/ruby/gems/1.8":String
My RubyMine (and it seems like many other Java GUI applications) crashes the Compiz window decorator almost every time on...
Get "PuTTY Link" and "Pageant" (an SSH key agent) from the PuTTY download page. Run pageant.exe, find its icon inside...
To activate the shell command, go to Tools > Create Command-line Launcher and confirm. Now you have mine as bash...
Sass comes with many built-in functions to manipulate color. Some of the more interesting functions include: adjust-hue($color...
Because your examples should not change global state, you should not need to care about the order in which RSpec...
When using the resource_controller gem you often hook onto events like this: update.before do do_something end
This snippet makes links that refer to an anchor (like "...
...") scroll softly to it.\ In this example we only do...
XPath matchers can be combined with CSS-selector matchers. This is really useful if not, for example, the content of...
Deprecated ways to execute shell code in Ruby This is just a reference for legacy code. For new code, always...
apt-get install libcurl3-dev
Since May 2011 we are cutting new gems using Bundler, which is less painful than cutting gems using Jeweler. You...
Capybara allows you to select DOM elements, e.g. by using field, find_field(...) or field_labeled(...): role_select = field_labeled...
Today I needed to execute a ruby gem executable with sudo. But, surprisingly, bash would tell me command not found...
Before installing chef, make sure curl is installed and sudo finds your gems setup chef-client: follow this guide
We recently decided to put static content for HouseTrip.com to Amazon Cloudfront for a faster user experience. This happens fully...