I was trying to figure out where to put a simple block of code to
calculate the age of every "user" I have in the table "people".
In the controller I get all the users from the model like this:
@people = Person.find(:all)
Then in the view, when I'm showing all the attributes of each user I
<% for p in people %>
"age calculation and showing"
<% end %>
Isn't this breaking the MVC theory?. Shouldn't put I this piece of
code at the controller?.