When creating an ActiveRecord with .new, .create or create!, you cannot set the ID attribute (note: When using Machinist's...
There is a bug in ActiveRecord 2.3.x that leads to changes in nested forms getting lost. class Project < ActiveRecord...
This is awesome. Only ran smoothly in Chrome. Is a slideshow in Firefox.
This works well in the simplified case, when your link disappears after it was clicked. Let link_to_remote behave...
You probably know that you can use CSS selectors to match against elements and their attributes, such as:
You can use the content CSS attribute to set an element's content -- which is especially useful for the :before...
Since I'm a software architect and a web developer, I get often approached by people with their new ideas...
A tooltip library that does not use Javascript. Works in IE9+. This library (or the technique used by it) could...
Ruby has two different ways to match the start and the end of a text: ^ (Start of line) and $ (End...
Microsoft provides virtual machines for different Internet Explorer versions. The images are available for various virtualization solutions, including VirtualBox...
When you accept a table in your Cucumber step definition, that table object will have the cryptic type Cucumber::Ast...
January has been a very bad month for Ruby on Rails developers, with two high-severity security bugs permitting remote...
If git gives you an error message such as "fatal: bad config file line 123 in .git/config" after you tried...
Defining one callback several times in the same class behaves different in ActiveRecord and ResourceController. While in ActiveRecord the callbacks...
Spreewald now comes with a step that tests if a form field is visible: Then the "Due date" field should...
Amazon Elastic Transcoder is video transcoding in the cloud. It is designed to be a highly scalable, easy to use...
Consul 0.6.1+ gives your Power class a number of static methods that behave neutrally in case Power.current is nil. This...
Consul 0.6.1+ gives you a way to dynamically access and query powers for a given name, model class or record...
We recently had a problem on a Memcache cluster, where one of the servers showed a significantly worse cache hit...
Behave.js is a lightweight library for adding IDE style behaviors to plain text areas, making it much more enjoyable to...
validates_uniqueness_of is not sufficient to ensure the uniqueness of a value. The reason for this is that in...
Prism is a new lightweight, extensible syntax highlighter, built with modern web standards in mind. It’s a spin-off...
The attached article outlines considerations when choosing client-side vs. server-side implementations of the Google Geocoding APIs (geocoder, directions...
Mobile browser's ignore the autoplay attribute on and elements. Stupid reasons include saving mobile bandwidth on behalf of the...