There are a million ways to center s or text in CSS, horizontally or vertically. All the ways are unsatisfying...
Using Scenic, you can bring the power of SQL views to your Rails application without having to switch your schema...
Note The maintenance mode is enabled on all application server as soon as the file /public/system/maintenance.html is present. Installation
Once Rails knows a given string is html_safe, it will never escape it. However, there may be times when...
You know that layouting HTML e-mails is terrible. For more fun, check Litmus' list of top 10 e-mail...
There are cases when you need to select DOM elements without jQuery, such as: when jQuery is not available
When you're using feature branches, they will stack up if you don't delete them after the merge to...
Until recently, you could open a new tab via window.open when using execute_script in Selenium tests. It no longer...
The nokogiri gem provides different packages for several platforms. Each platform-specific variant ships pre-built binaries of libxml2, e.g...
You know that Devise offers RSpec test helpers for controller specs. However, in request specs, they will not work.
I recommend to go straight to 2.1.5+ without intermediate steps. Otherwhise you burden yourself with unnecessary work of encoding problems...
A very informative and interesting presentation about browsing performance, looking at efforts Google Chrome takes to increase it.
You can use mail-tester.com to check your application's e-mails for issues that might cause e-mails to be...
Note This card does not reflect the current state of lazy loading technologies. The native lazy attribute could be used...
Nobody needs HTML e-mails. However, you occasionally might have to write an HTML message for some weird reason. Here...
Installing SSL certificates usually implies additionally using intermediate certificates. If one of them is missing, some SSL client implementations might...
Our applications not only need to be functional, they need to be fast. But, to quote Donald Knuth, premature optimization...
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...
To safely transport an arbitrary string within a URL, you need to percent-encode characters that have a particular meaning...
With ngAnimate, you can easily animate certain events (see directive support). We'll make use of ngClass animations to style...
Understand how nested attributes appear in the params. See how the Rails form helpers encode the names of nested...
If the project team consists of at least 2 members, do a daily standup. It should not take much longer...
You have the following HTML structure:
If you want to run Javascript code whenever someone clicks on a ...
..., you...