Yesterday, Rails fixed a security issue (CVE-2014-3514) in Rails 4+. It was possible to use .where...
edge_rider is Power tools for ActiveRecord relations (scopes). Please note that some of the functions edge_rider provides have...
So you have placed a breakpoint somewhere and now want to dig around, but not even inspecting variables is working...
Parses URLs of social networks to extract IDs or screen names. It does not get confused by child routes: you...
When you don't only have a favicon.ico in your project but also PNGs of different sizes and backgrounds, you...
Safari on iOS accepts an apple-touch-icon favicon that is used for stuff like desktop bookmarks. Always define a...
Skype has been updated to 4.3 on Linux. This fixes group chat issues with non-linux clients.
When connecting to multiple (i.e. > 4) servers to dive into logfiles or do security updates, terminator is what you want...
SudoSlider is a simple yet powerful content slider that makes no (or very few) assumptions about your markup and is...
If you have some file or directory that should trigger a Spring reboot, tell Spring e.g. in config/spring.rb: Spring.watch 'file.rb...
MuPDF is a PDF reader that renders very quickly, yet still correctly. It supports PDF 1.7 and all the fancy...
When your Rails controller action responds with only a simple text, render text: 'Hello' may not be what you want...
The error unexpected 'x' after 'DESCENDANT_SELECTOR' (Nokogiri::CSS::SyntaxError) (where x may be basically any character) occurs when the...
If you get this error when you try to resize an OpenStack instance: # nova resize example 23 --poll
With this command you can initiate an application restart without touching restart.txt. Unlike touching restart.txt, this tool initiates the restart...
Internet Explorer on Windows 8 and 8.1 is available in a "Desktop version" and the metro version which is designed...
Your development machine is usually on a very good network connection. To test how your application behaves on a slow...
You might have a table without a primary key set in MySQL. You can fix this by adding a primary...
When you are working with Backbone models and inheritance, at some point you want to overwrite inherited methods but call...
I had a huge MySQL dump that took forever (as in: days) to import, while I actually just wanted to...
When you do something like this in your code: def var_value @var ||= some_expensive_calculation end
When you want to find out the data type of an attribute, you can just use ActiveRecord's columns_hash...
Ubuntu 12.04 LTS x64, Ruby 1.8.7, Rails 2.13, PDFKit 0.5.4, Phusion Passenger Apache 2 I ran into this, when I...
Weighttp is threaded and might exhaust resources of an application better than ApacheBench or httperf. You need libev installed.