Hello, I wonder if it’s better to put business logic in the controller
or in the model (I presume model is better)
Eg. client controller, disable_account action
client = Client.find(params[:id])
client.send_pending_invoices()
client.login_enabled = false
client.receive_newsletter = false
or
client = Client.find(params[:id])
client.disable_account() # and put the whole stuff in this method ?
Which is the best one ?
Thanks