RubyGems Navigation menu

view_models 2.0.0.ruby19

For Padrino and Rails 2 views. Adds the missing R (Representation) to Rails' MVC. Provides simple proxy functionality for your models, thus helps you keep the model and view representation separate. Define focused helper methods on the (view) model, more quickly understood and more easily testable. Also: Hierarchical rendering for your hierarchical models. So, in a nutshell: Polymorphism not just in the model, but also in the view. Have fun!

Gemfile
          gem 'view_models', '~> 2.0.0.ruby19'
  
  
  
  
  
  
  

install
          gem install view_models --pre
  
  
  
  
  
  
  

Total downloads 12,497

For this version 606

Show all versions (13 total)

Required Ruby Version: None

Links:

Versions:

  1. 4.0.1 - January 4, 2014 (119 KB)
  2. 3.0.1 - December 16, 2012 (239 KB)
  3. 3.0.0 - October 30, 2012 (120 KB)
  4. 2.0.1 - April 9, 2011 (20 KB)
  5. 2.0.0 - July 19, 2010 (14.5 KB)
Show all versions (13 total)

Runtime Dependencies:

Development Dependencies: