RubyGems Navigation menu

levee 0.0.4

The purpose of the builder object is to create a layer of abstraction between the controller and models in a Rails application. The builder is particularly useful for receiving complex post and put requests with multiple parameters, but is lightweight enough to use for simple writes when some filtering or parameter combination validation might be useful before writing to the database. Since it wraps the entire write action to mulitple models in a single transaction, any failure in the builder will result in the entire request being rolled back.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.0.4 - July 29, 2015 (16.5 KB)
  2. 0.0.3 - March 18, 2015 (44.5 KB)
  3. 0.0.2 - March 18, 2015 (29.5 KB)
  4. 0.0.1 - March 18, 2015 (13.0 KB)

Runtime 依赖 (1):

activerecord >= 4.0

Development 依赖 (2):

bundler ~> 1.7
rake ~> 10.0

业主:

作者:

  • Mike Martinson

SHA 256 校验和:

3c1c1909aed3f7d399528d43161e6316af39dfb14fc97cba811f541883e0204a

下载总量 10,057

这个版本 3,388

许可:

MIT

需要的 Ruby 版本: >= 0

链接: