Forum: Ruby on Rails RE: Should controllers be "smart"?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Chris B. (Guest)
on 2006-05-05 03:34
(Received via mailing list)

Model-View-Controller architecture wants you to put your business logic
into the controller.

Pat M. (Guest)
on 2006-05-05 03:53
(Received via mailing list)
One of the things that DHH always talks about is having a rich domain
model.  This is why we have stuff like validations, associations, etc
all being inside the model.

I've actually never really understood the point of the controller.
Everywhere I've read says that the business logic goes in the model,
and the controller just connects it to the view.  Maybe I'm just

If business logic goes in the controller, how are you supposed to
modify the application other than by using a web interface?

This topic is locked and can not be replied to.