FastRuby Style Guide

At FastRuby.io, we believe successful Rails upgrades are shipped one tiny pull request at a time. We love our test-driven process, scrums, pair programming, continuous integration, and sprints.

Typography

Font Face

Open Source Light Weight: 300

Open Source Medium Weight: 500

Open Sans Bold Weight: 800

Headings

H1, Weight 800, 2.625rem

H2, Weight 300, 1.375rem

H3, Weight 300, 1rem

Paragraph

P, Weight 300, 16px: FastRuby helps small businesses and entrepreneurs easily upgrade their Rails applications. We spend our days shipping Rails upgradeswhile your team focuses on shipping features and bug fixes.

Color

Primary colors

Green

#00d242

yellow

#fdca31

Black

#222222

Red

#ff0000

Secondary colors

Grey Medium

#323235

Grey Light

#dadada

Grey Lighter

#eaeaea

White

#f8f8f8

Forms

Contact Form example

Error message
Success message

Code block

class UserController < ApplicationController
    def index
        render "index"
    end
end

Audit blocks

Vulnerable Gem: ACTIONVIEW@4.1.16

Name:

actionview

Version:

4.1.16

ID:

CVE-2016-6316

Possible XSS Vulnerability in Action View

Description:

here is a possible XSS vulnerability in Action View. Text declared as "HTML safe" will not have quotes escaped when used as attribute values in tag helpers.

IMPACT

Text declared as "HTML safe" when passed as an attribute value to a tag helper will not have quotes escaped which can lead to an XSS attack. Impacted code looks something like this:

content_tag(:div, "hi", title: user_input.html_safe)

Some helpers like the sanitize helper will automatically mark strings as "HTML safe", so impacted code could also look something like this:

class UserController < ApplicationController
    def index
        render "index"
    end
end

All users running an affected release should either upgrade or use one of the workarounds immediately.

Accordion

FAQs example

We have worked with extremely active teams in the past. You just tell us which branch to use. We will branch off your stable branch and rebase as much as necessary.

We have worked with extremely active teams in the past. You just tell us which branch to use. We will branch off your stable branch and rebase as much as necessary.

Members

Member card example

Ernesto Tagwerker

FOUNDER & SENIOR SOFTWARE ENGINEER

Software engineer and open source hacker. He is a Lean Practitioner and entrepreneur with more than 8 years experience working in the software industry.

CTA cards

CTA card example

Take advantage of Rails' latest features, performance upgrades, and security patches

We should talk!