My application has the following logic:
- Given a received link, the application takes the
<title>
attribute of the page and transforms this attribute into the link description and saves it to the database.
I put this logic in callback before_save
in Model and it works perfectly.
This type of logic, should I put in Controller or is the correct location even in the model?