RubyGems Navigation menu

levee 0.0.3

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:
= Copy to clipboard Copied!

install:
=

Versions:

  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 KB)

Runtime Dependencies (1):

activerecord >= 4.0

Development Dependencies (2):

bundler ~> 1.7
rake ~> 10.0

Owners:

Authors:

  • Mike Martinson

SHA 256 checksum:

7f89e1350c092dfc9cb192afea84c15ea6c6dee36484f0bf368a569773f63196

Total downloads 10,057

For this version 2,316

License:

MIT

Required Ruby Version: >= 0

Links: