Some browsers define window.event, which will return a copy of the "current" event. However, this is not defined by the...
The asset pipeline is one of Rails' two mechanisms how stylesheets, javascripts and images from your /assets folder are processed...
Some tasks in a web application are better not done live when a user request a page, but in the...
When a method has keyword arguments, Ruby offers implicit conversion of a Hash argument into keyword arguments. This conversion is...
Writing ruby methods that accept both optional and keyword arguments is dangerous and should be avoided. This confusing behavior will...
This is a guide on how to effectively use Git when working on a feature branch. It is designed to...
Starting with Rails 4.0, when you get an exception reported via the ExceptionNotification gem, you will only see a very...
Starting with Ruby 1.9, most #each methods can be called without a block, and will return an enumerator. This is...
Rails 5 will introduce ActiveRecord::Relation#or. On Rails 4 and 3.2 you can use the activerecord_any_of gem...
When working with PostgreSQL, you can use pgAdmin as a GUI. While you can do most things just like on...
I figure we needed a definitive reference for what work is triggered by changing various CSS properties. It's something...
A fantastic guide for a dilemma facing any web-based product. Here’s a simple set of Yes/No questions that...
Article shows how to make a script that fakes one kind of content when printed with cat, but uses different...
To safely transport an arbitrary string within a URL, you need to percent-encode characters that have a particular meaning...
As the web is being used for more and more tasks, expectations rise. Not only should web pages offer rich...
In the DevTools settings, there's a "Shortcuts" section. Found these keyboard shortcuts there: General ESC Toggle drawer
This is how you regain disk space from OpenStack instances if you are using kvm and qcow. If your instance...
Method lookup Understand all the terms in How Ruby method lookup works, in particular: include extend singleton class
While debugging an intricate issue with failed HTTP requests I have come to appreciate the more advanced features of the...
With ngAnimate, you can easily animate certain events (see directive support). We'll make use of ngClass animations to style...
Bash stores the exitcodestatus of piped commands in the environment variable PIPESTATUS So you can just echo ${PIPESTATUS[@]} to get...
Understand how nested attributes appear in the params. See how the Rails form helpers encode the names of nested...
If you have problems installing a gem and get a error collect2: error: ld returned 1 exit status it's...
If the project team consists of at least 2 members, do a daily standup. It should not take much longer...