[jifty-devel] Defining a virtual column
Carlos Arenas
carlos.arenas at gmail.com
Fri Feb 12 18:34:27 EST 2010
hello again. as promised, i have more questions...
i am creating a User model with first_name and last_name columns. i
would also like to create a virtual full_name column. so far i have:
column full_name =>
is virtual,
;
but how do i define its value as "first_name.' '.last_name"? i
suspect "defer" might be involved, but i could not find any
documentation or example of defer when applied to the same class.
can someone please give me push in the right direction? thanks.
--
ca
More information about the jifty-devel
mailing list