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:
=
安裝:
=
Runtime 相依性套件 (1):
activesupport
>= 2.2.0
Development 相依性套件 (1):
rspec
>= 1.2.9