Resque comes with its own dashboard (Resque server) that you can mount inside your Rails 3 application with #config/routes.rb:

This note describes how to kick a user out of a Rails application after she hasn't requested an action...

When you create a temporary file (e.g. to store a generated Excel sheet) and try to send it to the...

makandra dev

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

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...

Here is how to switch your Selenium to Chrome: Make sure you've got a recent version of chromedriver in...

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

github.com

When CoffeeScript was added to Rails 3.1 they forgot one very important part, the ability to use it when responding...

richfrog.curzons.net

Get "PuTTY Link" and "Pageant" (an SSH key agent) from the PuTTY download page. Run pageant.exe, find its icon inside...

Because your examples should not change global state, you should not need to care about the order in which RSpec...

In order to request a SSL certificate from any dealer, you usually need a CSR certificate. As both the CSR...

This snippet makes links that refer to an anchor (like "...

...") scroll softly to it.\ In this example we only do...

blog.jayfields.com

Deprecated ways to execute shell code in Ruby This is just a reference for legacy code. For new code, always...

Today I needed to execute a ruby gem executable with sudo. But, surprisingly, bash would tell me command not found...

Remember that your controller actions share the same method space with private methods defined in ActionController::Base. If your controller...

We recently decided to put static content for HouseTrip.com to Amazon Cloudfront for a faster user experience. This happens fully...

When deploying an application with "cap deploy" by default [1] you only deploy your code but do not run migrations...

travisonrails.com

You set a flash message and it shows up as it should. However, it is displayed again the next time...

linux.die.net

Reading a URL via GET: curl http://example.com/ Defining any HTTP method (like POST or PUT): curl http://example.com/users/1...

The Basic Authentication header encodes username and password. Effectively, it's just Base64 plus a "Basic" prefix.

makandra dev

When installing RMagick you may get an error messages like this: Version 2.13.1: checking for Ruby version >= 1.8.5... yes

By default, Opera 11 hides any passed params and the URL's protocol until you focus the address bar.