Using the JS fullscreen API is painful because all browers use different methods and events and you need to use...
For outputting a given String in HTML, you mostly want to replace line breaks with or tags.
When you find yourself constantly ignoring a RubyMine warning, you can simple disable that warning and de-clutter your editor...
If you have a single node elasticsearch instance and indices with replicas enabled your cluster state will be yellow. If...
geordi delete_dumps [directory] Recursively search for files ending in *.dump and offer to delete those. When no...
Rails offers a way to prepend (or append) view paths for the current request. This way, you can make the...
About-Payments is here to help you to accept payments online and find the best payment service provider for your...
TL;DR Use user.update!(remove_avatar: true) to delete attachments outside of forms. This will have the same behavior as...
This is a small example on how you can check if your Postgres index can be used by a specific...
When you print (or print preview) and elements are cut off (e.g. after 1st page, or "randomly") you should check...
When writing XLSX files, there are gems like rubyXL or axlsx. While they do offer features like formatting or graphs...
Sometimes when working with VCR you still want to use webmock. Since VCR hooks into webmock and fails when an...
An end-to-end test (E2E test) is a script that remote-controls a web browser with tools like Selenium...
Slides for Henning's talk on Sep 21st 2017. Understanding sync vs. async control flow Talking to synchronous (or "blocking...
RSpec allows defining methods inside describe/context blocks which will only exist inside them. However, classes (or any constants, for that...
RawGit serves raw files directly from GitHub with proper Content-Type headers, for CDN-like purposes. Note that they don...
Since Rails 5, domain models inherit from ApplicationRecord by default. This is the place to put code that should be...
Rails supports time zones, but there are several pitfalls. Most importantly because Time.now and Time.current are completely different things and...
By default Middleman generates files with a .html extension. Because of this all your URLs end in /foo.html instead of...
Middleman is a static page generator that brings many of the goodies that Rails developers are used to.
Imagine the following HTML structure, where the scrolling container has overflow-y: scroll: +--scrolling container+-+ | | | +-child element+----+ | | | ++iframe++ | | | | | | | | | | | | | | +-----------------------+ | | | | <-- actually cut...
Looks like ActiveState is trying to market a new Ruby distribution for Enterprises: ActiveRuby Enterprise Edition is designed for businesses...
Website that offers lots of different kinds of HTTPS configurations, bad or good or complicated. They also offer a dashboard...
run-one is a wrapper script that won't run the given command while another instance of it is running...