Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.23 KB

README.textile

File metadata and controls

40 lines (27 loc) · 1.23 KB

ViewModels

A view model/representer solution for Rails.

Features

  • Polymorph view model objects that correspond to model objects.
  • View model specific templates.
  • Hierarchical Template Rendering: Allows generalized templates for a class tree of view models.
  • Helper methods directly on the view models.
  • No view related code in the models.
  • A clean API for use in Rails.
  • 100% rcov coverage, nice metrics, gallons of blood and sweat by excellent contributors.

Installation

Rails Plugin

script/plugin install git://github.com/floere/view_models.git

Gem (for use in Rails)

gem install view_models

and then adding the line

config.gem 'view_models'

in your environment.rb.

Links Galore!

Usage, Examples, In-depth Infos [Wiki]
Reference [RDoc]
Gem [RubyGems.org]
Mailing List
Bug Tracker
Metrics
Source [Github]
Homepage