[Seaside] generating relationships
ssastre at seaswork.com
Thu May 14 14:25:55 UTC 2009
> so, in albums, i would have something like artistID?
nothing will stop you but is unfriendly given you can make the album to hold the
artist object itself.
> is there something like the rails 'find' function build in?
> so i could
> do something like..
to a certain point, yes. You have to query the collection, ala smalltalk in this
case. For instance:
u2Albums := store albums select:[:album| album artist name = 'U2']
I'm asuming that store hols a collection of albums and album holds an artist
which answers a name
> sergio t. ruiz
> network analyst
> red red design
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside