Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 692 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 692 Bytes

EagerDecorator Build Status Gem Version

A simple decorator for Rails 3 and Rails 4. Always, the decorator is mixed automatically in model.

Installation

Add this line to your application's Gemfile:

gem 'eager_decorator'

Usage

You can use the denerator like the following.

$ rails g decorator user

Supported versions

  • Ruby 1.9.3, 2.0.0, 2.1.0
  • Rails 3.2, 4.0, 4.1, 4.2

Copyright

Copyright (c) 2015 Koya Fukuda. See MIT-LICENSE for further details.