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

3c1c1909aed3f7d399528d43161e6316af39dfb14fc97cba811f541883e0204a

Total downloads 10,036

For this version 3,379

License:

MIT

Required Ruby Version: >= 0

Links: