Displaying 1 result from an estimated 1 matches for "deliver_welcom".
Did you mean:
deliver_welcome
2006 May 04
22
Should controllers be "smart"?
I''m working on a small project with a friend, and one of the things we
needed to do was send off an email whenever someone signs up an
account. His implementation was pretty simple - throw a
deliver_welcome call inside the controller after the signup. I''m sure
that this is a pretty common thing to do.
The problem, in my mind, was that the app now became tied to two
places - the controller and model - for handling business logic. What
do I mean? Well if I open script/console and do
Accou...