A JavaScript error in an E2E test with Selenium will not cause your test to fail. This may cause you...
...HTML's accepts a single file. You can allow multiple files via . But sometimes, selecting multiple files is not enough...
If you use transactional_fixtures or the database_cleaner gem with strategy :transaction, after_commit callbacks will not be fired...
Flexbox is awesome. Most of it even works in IE11, but flex: 1 won't work reliably in Internet Explorer...
Most forms have a single submit button that will save the record when pressed. Sometimes a form needs additional submit...
In general, the tracker should always be the definitive source of truth of what needs to be done as part...
At makandra, we've built a few gems over the years. Some of these are quite popular: spreewald (> 1M downloads...
Google Chrome has a subtle rendering bug that hits me once in a while. It usually occurs in sliders with...
Having a unique selector for an element is useful to later select it from JavaScript or to update a fragment...
Haml lets you prefix a group of attributes by wrapping them in a hash. This is only possible with the...
As a web developer, you know Google Analytics (GA). Probably you've dropped the GA snippet into more than one...
Rails defines a #truncate helper as well as a method String#truncate. = truncate("my string", length: 5) = "my string".truncate...
The 90s are calling: they want their tables back. Unfortunately, you need them all for laying out your HTML emails...
Ruby has this handy block shortcut map(&:to_i) for map { |x| x.to_i }. However, it is limited to argument...
Authentication is a special part of web applications. On the one hand, it usually is a crucial security mechanism restrict...
Browsers' printing methods usually don't print background colors. In most cases this is the desired behavior, because you don...
TL;DR Append your locale keys with _html to have them marked as html_safe and translate them with = t...
When your application is running on a multi-server setup, application logs are stored per server (unless you choose a...
When your JavaScript bundle is so massive that you cannot load it all up front, I would recommend to load...
You know that you can use jQuery's text() to get an element's contents without any tags.
For outputting a given String in HTML, you mostly want to replace line breaks with or tags.
Lets say we have a user with a contract whereas contract is a mounted carrierwave file. Now we want to...
This might be a known issue with Rubygems 2.5.1. This will help: gem update --system
When you need test images, instead of using services like lorempixel or placehold.it you may generate test images yourself.