RubyGems Navigation menu

view_models 2.0.1

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:
=

安装:
=

版本列表:

  1. 4.0.1 January 04, 2014 (118.5 KB)
  2. 3.0.1 December 16, 2012 (239.0 KB)
  3. 3.0.0 October 30, 2012 (120.0 KB)
  4. 2.0.1 April 10, 2011 (20.0 KB)
  5. 2.0.0 July 20, 2010 (14.5 KB)
显示所有版本 (共 13 个)

Runtime 依赖 (1):

activesupport >= 2.2.0

Development 依赖 (1):

rspec >= 1.2.9

业主:

作者:

  • Florian Hanke, Kaspar Schiess, Niko Dittmann, Andreas Schacke

SHA 256 校验和:

=

下载总量 39,218

这个版本 3,139

版本发布:

许可:

需要的 Ruby 版本:

链接: