view_models 2.0.0
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:
=
instalar:
=
dependencias de Runtime (1):
activesupport
>= 2.2.0
dependencias de Development (1):
rspec
>= 1.2.9