Skip to content

super: no superclass method `extract_default' #64

Description

@DLawla

Hi there,
I'm seeing an issue when jumping to edge rails (6.0.0.alpha) from 5.2.0.rc1 which you may be already aware of:
super: no superclass method `extract_default' for #<ActiveRecord::TypedStore::Column:0x00007f9582c27c88>

We have a model with JSON column, defined as follows in the model:

typed_store :metadata, coder: JSONCoder do |p|
    p.integer :foo
 end

JSONCoder is copy-paste of the DumbCoder in the Readme:

module JSONCoder
  extend self

  def load(data)
    data || {}
  end

  def dump(data)
    data || {}
  end
end

Ruby: 2.5.0

I had a quick dig and get a little overwhelmed. Happy hear your thoughts on this. Cheers!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions