.@pragdave not using TDD or a better alternative seems equivalent to 'I don't believe in science' @unclebobmartin @dhh
@dhh If the point of some code is to interact with the database, using a stub instead of a real relation is absurd.
-
-
@sgrif I contend that point of an Active Record is to be backed by a DB. If you're stubbing ARs or making repos, you're imo harming design. -
@dhh Same goes for controllers in my opinion. Outermost level of the application is not meant to be tested in isolation. - 7 more 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.