On Apr 13, 10:24 pm, Shawn <[email protected]> wrote: > Does the :clone option require a block, as in the example you > referenced? Can I do the following instead? > > class Store > one_to_many :items > one_to_many :discontinued_items, :clone => :items, :conditions => > {:is_discontinued => 1} > end
No, it doesn't require a block. What you have should work. 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.
