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:
= Copier Copié!

installation:
=

Versions:

  1. 0.0.4 - July 29, 2015 (16,5 ko)
  2. 0.0.3 - March 18, 2015 (44,5 ko)
  3. 0.0.2 - March 18, 2015 (29,5 ko)
  4. 0.0.1 - March 18, 2015 (13 ko)

Dépendances de Runtime (1):

activerecord >= 4.0

Dépendances de Development (2):

bundler ~> 1.7
rake ~> 10.0

Propriétaires:

Auteurs:

  • Mike Martinson

Total de contrôle SHA 256:

3c1c1909aed3f7d399528d43161e6316af39dfb14fc97cba811f541883e0204a

Total de téléchargements 10 057

Pour cette version 3 388

License:

MIT

Version de Ruby requise: >= 0

Liens: