Hacker Newsnew | comments | show | ask | jobs | submitlogin

The author seems to contradict himself.

First he claims that sending an email after user creation is conventionally done in the model. Then in his hypothetical scenario a new dev comes in and looks at the controller to discern that same logic.

He completely misses the point, if its conventional to put the welcome email logic in the model then we can expect the new dev to look for the logic in the model.

The whole point of rails is convention above all.




Guidelines | FAQ | Support | API | Lists | Bookmarklet | DMCA | Y Combinator | Apply | Contact

Search: