News for hackers. Stuff that matters.
Re:On logic in a Rails app by dzuc on Monday December 24, 2012 @12:37PM (#4963471)
What to do about callbacks in the models?
Re:On logic in a Rails app by amalag on Saturday December 29, 2012 @11:30AM (#4982498)
I suppose we don't want to test the fact that Rails does a callback, we would want to test the callback logic. We would test our domain class and then test if the model class has a callback.