1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00
Commit graph

5 commits

Author SHA1 Message Date
Joshua Clayton
89d5e944d5 Refactor Strategies
This changes Strategy from a class to a module and removes inheritance.
It introduces an Evaluation facade to make building strategies easier
2012-04-13 17:20:02 -04:00
Joshua Clayton
24d417d575 Add a before_create callback
Closes #323
2012-03-30 12:01:56 -04:00
Joshua Clayton
6c29b11477 Use 1.9 hash syntax 2012-03-16 16:43:23 -04:00
Joshua Clayton
791591bd58 Deprecate :method in favor of :strategy 2012-02-17 14:23:17 -05:00
Joshua Clayton
b79a525c09 Proxy => Strategy 2012-02-10 18:19:17 -05:00