Why I don't like factory_girl: http://blog.steveklabnik.com/posts/2012-07-14-why-i-don-t-like-factory_girl …
@markusschwed I tend to not use rails' scope feature and just use a method that makes ActiveRelations
-
-
@steveklabnik Do you do this for testing purposes? How do you chain these “scope methods” if you have 2 def. and need them in another one? -
@markusschwed I do it because it's simpler to me than using a macro. You just method chain: https://gist.github.com/cf924281ea70e7c058a8 … - Show replies
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.