> On Nov 16, 2018, at 13:28, Jeremy Evans <[email protected]> wrote:
> 
> Don't override initialize, that's probably what broke things.

It was.   Changed the initialize method to be:

  def initialize(**options)
    super
  end # initialize

… and that fixed the issue.  Also as noted in IRC chat, simply removing the 
method also fixes it.  I’m just early prototyping right now, and if it turns 
out that I don’t need that method, I’ll just remove it.

> 
> Also, load plugins into Sequel::Model before subclassing it, not after. See 
> the Code Order guide on the Sequel website.
> 

Yeah, that was a cut-and-paste order problem with the Pastebin code … the 
actual app implementation has the plugins loaded before subclassing.  My bad 
for posting it wrong.

> Thanks,
> Jeremy

I appreciate the fast reply, Jeremy.  Thanks so very much!

-- 
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