Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby
branch: master

Version bump

latest commit def2061550
Christopher Kalafarski authored
Failed to load latest commit information.
lib Version bump
vendor/assets Fix asset precompilation by explicitly using scss
.gitignore Gem setup
Gemfile Gem setup
LICENSE License
README.md Doc
Rakefile Gem setup
stateface-rails.gemspec Adding rails support

README.md

Stateface::Rails

In application.css

*= require propublica/stateface

In your views

<p class='propublica-stateface'><%= 'ma'.to_stateface %></p>

will map a state abbreviation (CA, HI, MA, etc) to the corresponding letter StateFace uses.

Or create a span tag with the class for an abbreviation.

<%= stateface_tag('ma') %>

or use font-face: StateFace however you'd like

Something went wrong with that request. Please try again.