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
Shawn
On Apr 14, 9:40 am, Jeremy Evans <[email protected]> wrote:
> On Apr 13, 3:27 pm, Shawn <[email protected]> wrote:
>
> > Maybe. After reading the docs, I'm not clear on how the :clone option
> > works. Would you please provide an example?
>
> There's an example in the 2.11.0 release notes:
>
> http://sequel.rubyforge.org/rdoc/files/doc/release_notes/2_11_0_txt.html
>
> 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.