Webpacker is Rails' way of integrating Webpack, and version 4 has been released just a few days ago, allowing us...
Carrierwave includes some handy helper methods you can use to resize your images. Here is a quick summary of them...
We want to move away from jQuery in future projects Motivations are performance, bundle size and general trends for...
Spammers have started abusing other application to send their spam. This works like this: The application has some form that...
When building an application that sends e-mails to users, you want to avoid those e-mails from being classified...
Suggested Workflow Set the ruby version in .ruby-version to 2.3.5, then perform these steps one by one, fixing errors...
In ruby you can easily read and write CSVs with the standard CSV library class. On top of this, you...
The Ace editor is a great enhancement when you want users to supply some kind of code (HTML, JavaScript, Ruby...
Occasionally, your designer will hand you designs where elements break the layout's horizontal container width, like navigation buttons of...
Deployment ready for Opscomplete Copying view and controller templates over to target application during basics configuration or via...
jQuery's removeClass removes the given class string from an element collection. If you want to remove multiple/unknown classes matching...
It is possible to access Rails config (for example secrets) from within your webpack bundles, thanks to rails-erb-loader...
Scrolling overflowing elements with JavaScript HTML elements with overflow-y: auto or overflow-y: scroll will get a scrollbar when...
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...
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...
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...