Is there a way to tell which attributes come from role? I can't think of
a good way of doing this besides from changing attributes names in some
way. Using prefix for example..
tx,
On Wed, May 27, 2009 at 4:24 PM, Dmitri Ostapenko dmi...@farematrix.com wrote:
Is there a way to tell which attributes come from role? I can't think of a
good way of doing this besides from changing attributes names in some way.
Using prefix for example..
tx,
What are you trying to
Chris Prather wrote:
On Wed, May 27, 2009 at 4:24 PM, Dmitri Ostapenko dmi...@farematrix.com wrote:
Is there a way to tell which attributes come from role? I can't think of a
good way of doing this besides from changing attributes names in some way.
Using prefix for example..
tx,
On Wed, May 27, 2009 at 04:40:37PM -0400, Dimitri Ostapenko wrote:
So using a role to model lower-level table I need to be able to tell
which attributes come from class and which come from role in methods
for saving and retrieving data.
Maybe you want a trait for your attributes that
Hans Dieter Pearcey wrote:
On Wed, May 27, 2009 at 04:40:37PM -0400, Dimitri Ostapenko wrote:
So using a role to model lower-level table I need to be able to tell
which attributes come from class and which come from role in methods
for saving and retrieving data.
Maybe you want
On Wed, May 27, 2009 at 05:16:28PM -0400, Dimitri Ostapenko wrote:
# Need to know here which attr comes from where to be able to save into
correct table
Yes, I understand the problem. That's why I suggested a role for your
attribute class so that you can say e.g.
has foo = (is = 'ro',
On May 27, 2009, at 4:40 PM, Dimitri Ostapenko wrote:
Chris Prather wrote:
On Wed, May 27, 2009 at 4:24 PM, Dmitri Ostapenko dmi...@farematrix.com
wrote:
Is there a way to tell which attributes come from role? I can't
think of a
good way of doing this besides from changing attributes names