A print stylesheet is easy to create. Choose a font suited for paper, hide some elements, done. Unfortunately print stylesheets...
Tempfiles get deleted automatically With the the ruby Tempfile class you can create temporary files. Those files only stick around...
When committing, you should always check the diff of your changes so you don't include any leftovers or irrelevant/bad...
Jedes nicht rein private Profil auf Social Media Portalen muss ein Impressum haben, das heißt insbesondere Unternehmen und Freiberufler (§ 5...
So your Cucumber feature sometimes dies with this exception: Modal Dialog Present (Selenium::WebDriver::Error::UnhandledAlertError) As a seasoned Selenium...
No one wants to cry over regression issues in views; does testing HTML and CSS have to be such a...
The behaviour of browsers is very inconsistent when an Ajax request is answered with a redirect. Highlights are:
The facebook API allows up to 600 requests per 600 seconds. If you poll more often, you'll get no...
Today, I ran into trouble on a fairly fresh installed VM, running Ubuntu. I tried to bundle install and got...
If you want to install rabbitmq plugins on Ubuntu 12.04 you can do this with: /usr/lib/rabbitmq/lib/rabbitmq_server-2.7.1/sbin/rabbitmq-plugins This binary is not...
Check if you have puppetsync enabled on the master and client [main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet...
Rack has a limit for how many form parameters it will parse. This limit is 65536 by default.
In a nutshell: Capybara's find will not work properly on nodes from a list. Don't find on elements...
Note that this seems to affect only recent Rails 2 versions. You will not encounter this until you are writing...
This script loads a dump into your development database. You can provide the full path to you database dump like...
When using the asset pipeline your assets (images, javascripts, stylesheets, fonts) live in folders inside app: app/assets/fonts app/assets/images...
Myth #5 (Each HTTPS Site Needs its Own Public IP Address) is actually still true, but the rest of the...
Geoffrey Grosenbach has created Gruff for easily plotting graphs. It is written in pure Ruby and integrates with Rails applications...
Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...
Note: You might also want to check out BoxCryptor which does pretty much the same, and is supported across many...
%p #{link_to "label", "url"}! Haml is a great engine for writing shorter, readable HTML. However, there is...
When requests arrive at the application servers simultaneously, weird things can happen. Sometimes, this can also happen if a user...
Today, this line made me trouble. Can you spot the mistake? match 'sitemap.xml' => 'feeds#sitemap', :constraints => { :format => 'xml' }, :as => 'sitemap...
How to call routes, make requests and try out helpers from the Rails console.