Maybe. After reading the docs, I'm not clear on how the :clone option works. Would you please provide an example?
Thanks, Shawn On Apr 12, 1:24 pm, Jeremy Evans <[email protected]> wrote: > On Apr 11, 5:02 pm, Shawn <[email protected]> wrote: > > > I'd like to define associations based on previously defined > > associations: > > > class Store > > one_to_many :items > > one_to_many :new_items, :association => :items, :conditions => > > {:added_on > Time.now - 30.days} > > one_to_many :featured_new_items, :association > > => :new_items, :conditions => {:is_featured => 1} > > You mean the :clone option? > > Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
