I want to create a model attribute that looks exactly like a db field
infact the result of a model function.
I have a user with name and surname.
I want to be able to do @user.fullname which will then call a function
returns “name surname” as the full name, and I would like to be able to
“name fullname” and have it broken into the seperate fields before
the db, in otherwords I would like it to function exacly asif there is a
I know this can be done, I just dont know where to start looking for
Thanks in advance