On Thursday, November 30, 2017 at 6:18:33 AM UTC-8, Alexander Popov wrote:
>
> I have troubles with this syntax:
>
> AbstractModelClass = Class.new(Sequel::Model) do
>   def self.inherited(model)
>

You probably want to call super here.
 

>
>     model.one_to_many :associated_model
>   end
> end
>
> class Child < AbstractModelClass
> end 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to