3
Architectural and conceptual doubt:
I own a model Item
who possessed attributes nome_ptbr
and nome_en
.
I did the following method:
def display_nome
nome_ptbr || nome_en
end
Where should I put these methods, in the controller or in the helper? What’s the difference between one and the other?