RubyGems Navigation menu

levee 0.0.1

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:

9ab938d2139e51c9c3ceca0d3477ba3788833a46f0fb77b0d2de10deb1614a84

Total downloads 10,057

For this version 2,176

License:

MIT

Required Ruby Version: >= 0

Links: