Why I don't like factory_girl: http://blog.steveklabnik.com/posts/2012-07-14-why-i-don-t-like-factory_girl …
@markusschwed I do it because it's simpler to me than using a macro. You just method chain: https://gist.github.com/cf924281ea70e7c058a8 …
-
-
@steveklabnik Ah, cool, Haven’t known that chaining is possible, that way. And in test, you just do a expectation on Foo.where(..).with(..)? -
@markusschwed yeah, after Rails 3. yep!
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.