If your project manager wants to do gatekeeping on a project, as a developer you need to follow the following...
If you're responsible for gatekeeping in a projects, here is a guide, what to do. In order to reduce...
REST Client is a nice, simple HTTP client library for Ruby. When you do a simple GET request like that...
Don't you just hate to write Cucumber path helpers to be able to say this?
Imagine you have a piece of code that tries to send a request to a remote server. Now the server...
If Sunspot does not work and fails with a backtrace similar to this: /project/shared/bundle/ruby/1.8/gems/rsolr-1.0.6/lib/rsolr/client.rb:227:in `adapt_response' /project/shared/bundle/ruby/1.8/gems/rsolr-1.0.6/lib/rsolr/client.rb:164...
Most of the JavaScript snippets have code that manipulates the DOM. For that reason dom manipulating javascript code should have...
Although it's tempting flirt with detecting mobile/touch devices with CSS media queries or Javascript feature detection alone, this approach...
If you're using Paperclip to store and convert images attached to your models, processing a lot of images will...
One of the most common production errors are ActionController::MethodNotAllowed errors. They usually happen when someone reloads a form by...
For university I have to stay up-to-date with lecture documents. Since my university doesn't offer RSS feeds...
To reduce download time, application servers usually serve content using gzip compression, if the browser supports it.
If you turn on stylesheet caching, it might happen that stylesheets from different locations with different relative pathes will be...
How to ignore new files Globally Add the path(s) to your file(s) which you would like to ignore...
If you would like to use language specific layout (e.g. background-images) in your applications stylesheets you can achieve this...
If you embedded web fonts in the past years (e.g. by copying CSS from a Font Squirrel @font-face kit...
Clearance is a gem that provides authentication functionality (e.g. login, logout). This note explains, how the clearance login, logout and...
Web fonts are awesome. After being restricted to Arial for two decades there is finally a cross-browser way to...
You can convert git commits into patch files. Those can be used to apply to a different repository [1] or...
The solution in this card is based on a stack overflow post by Leventix. If you need to make request...
If you want to know the exact hits on your website (or whatever logfile you want) for a specific date...
The Rails logger will store its content in a buffer and write it into the file system every 1000 lines...
In order to monitor a Rake task using God your Rake file must write a file with its process ID...
There is a new card about how to do this with the new AWS Command Line Interface