I have an Adult model with a name attribute.
If the user is logged in, I want the Adult.name to only return the first name.
Is there a way to have helpers ti
in your Adult model you can add
def name self.first_name end
so when you find an Adult, like
a = Adult.last puts a.name #will print a.first_name
Well, for a better explanation.. paste some code!