Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Simple plugin to generate a formatter decorator for ActiveRecord attributes.

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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.