RubyGems Navigation menu

workbench 0.2

There are a lot of factory frameworks, why one more? In my experience the otherones use fancy DSLs that were intended to increase readability but instead increased confusion. Workbench doesn't use a fancy DSL. It uses ruby. It doesn't use any fancy tricks like providing proxy objects for modification, workbench builders operate on the actual model. Since it uses very little tricks, it is also ORM agnostic. If your models respond to '.new' and you set attributes by calling #attribute=, then Workbench will work with your model. I have a hard time understanding why all the complexity around factory builders has grown, but often I look at the resulting DSL and say "That's more work than just defining a method and calling Model.new!"

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 0.4.1 - June 01, 2012 (9KB)
  2. 0.4 - December 15, 2011 (9KB)
  3. 0.3 - August 19, 2011 (9KB)
  4. 0.2 - August 19, 2011 (9.5KB)
  5. 0.1 - August 11, 2011 (8KB)

Development依存関係 (2):

rspec ~> 2.6

所有者:

作者:

  • Tim Harper, Eric Wollesen, Ben Mabey

SHA 256チェックサム:

f9bae69dd2d38a7ef0e31ed570bc2032f8a92191237a54a24f27bfa53d06355e

累計ダウンロード数 16,242

このバージョンのみ 3,016

ライセンス:

N/A

必要なRubyのバージョン: なし

必要なRubyGemsのバージョン: >= 1.3.6

リンク: