View
Posted 4 months ago by Natalie Krehan.

Many mail clients do not support external style sheets. Some even require all styling inline, which means you'll have...

Posted 4 months ago by Emanuel De.

This is a short overview of things that are required to upgrade a project from the Asset Pipeline to Webpacker...

Posted 4 months ago by Michael Leimstädtner.

In Rails, we usually have a mailer setup like this: class MyMailer < ActionMailer::Base def newsletter mail to: 'receiver@host.tld',

Posted 5 months ago by Dominik Schöler.

min-width is known as a CSS property that can be set to define a least width for an element...

Posted 5 months ago by Jakob Scholz.

When we want to use our own (or bought) fonts in an application with Webpack(er), we have two options...

Posted 5 months ago by Arne Hartherz.

Here is how to make Rome datepicker look like the rest of your Bootstrap 4 application. Rome comes with very...

Posted 5 months ago by Arne Hartherz.

Webpacker is Rails' way of integrating Webpack, and version 4 has been released just a few days ago, allowing us...

Posted about 7 years ago by Henning Koch.

Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...

Posted over 4 years ago by Henning Koch.

Javascript objects can have getter and setter functions that are called when a property is read from or written to...

Posted almost 8 years ago by Henning Koch.

Clearfix is a hack to clear floating elements without additional HTML markup. If you only need to support IE8 and...

Posted over 3 years ago by Arne Hartherz. guides.rubyonrails.org

ActiveRecord offers an explain method similar to using EXPLAIN SQL statements on the database. However, this approach will explain all...

Posted almost 3 years ago by Judith Roth. clipboardjs.com

We used zeroclipboard.js in some of our projects but now we switched to clipboard.js because it does not rely on...

Posted 7 months ago by Henning Koch.

We want to move away from jQuery in future projects Motivations are performance, bundle size and general trends for...

Posted over 4 years ago by Dominik Schöler.

When you have an element you want to hide, you can add a ng-show='isOpen' attribute to that element...

Posted over 4 years ago by Dominik Schöler. edgeapi.rubyonrails.org

Starting from Rails 4.0, you can use a special form options helper called #collection_check_boxes. It behaves similar to...

Posted 7 months ago by Arne Hartherz.

When building an application that sends e-mails to users, you want to avoid those e-mails from being classified...

Posted 11 months ago by Henning Koch.

Scrolling overflowing elements with JavaScript HTML elements with overflow-y: auto or overflow-y: scroll will get a scrollbar when...

Posted 7 months ago by Henning Koch.

If your app does not need to support IE11, you can use most ES6 features without a build step. Just...

This website uses cookies to improve usability and analyze traffic.
Accept or learn more