Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple plugin to generate a formatter decorator for ActiveRecord attributes.
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
rails
spec
.gitignore
LICENSE
README
Rakefile
VERSION.yml
formatter-san.gemspec

README

= Formatter-san

Allows you to create an accessor for a formatted version of an attribute.

  class Person < ActiveRecord::Base
    formats :description
  end
  
  person = Person.find(:first)
  person.formatted_description
Something went wrong with that request. Please try again.