thoughtbot/factory_girl — pull request #390 by mguterl (2012-06-13 02:01:55+00:00)
Title: Allow created_at to be set when using build_stubbed

This is a patch for the 2.x series of factory_girl. We were recently upgrading dependencies in our application and we noticed that from factory_girl 1.x -> 2.x we could no longer set created_at when using the stub feature.

It seems that Strategy::Stub is largely dependent on Rails so I don't see too much of a problem with having it depend on the read_attribute method, but I might be missing something.

Any feedback is appreciated.