This question is based on another question of mine(thankfully answered).
So if in a model I have this:
def self.find_extended
person = Person.find(:first)
complete_name = person.firstname + ', ' + person.lastname
return person
end
How can I inject complete name in the person object so in my controller/view I can access it by person.complete_name?
Thank you for your time,
Silviu