Posted about 2 years ago. Visible to the public. Repeats.

Sass: Do not use comments between selector definitions

Sass lets you easily specify multiple selectors at once like this:

.some-block &.has-hover, &:hover outline: 1px solid red

This will add a red outline on either real hover or when the has-hover class is present. However, adding a comment will void the definition of that line:

.some-block &.has-hover, // From hoverable.js <-- DON'T &:hover outline: 1px solid red

… will simply drop the &.has-hover part.

Does your version of Ruby on Rails still receive security updates?
Rails LTS provides security patches for old versions of Ruby on Rails (3.2 and 2.3).

Owner of this card:

Dominik Schöler
Last edit:
about 2 years ago
by Arne Hartherz
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Dominik Schöler to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more