Architectural and Conceptual Doubt:
I have a model Item
that has attributes nome_ptbr
and nome_en
.
I've done the following method:
def display_nome
nome_ptbr || nome_en
end
Where should I put these methods in controller or helper ? What's the difference between the two?