Code Monkey home page Code Monkey logo

Comments (4)

joelvh avatar joelvh commented on May 23, 2024 1

@clairity v2.0.1 has been released, which is the refactor in #16. The way it works, is it references the association, which means polymorphic relationships should probably work, since we are not referencing records IDs.

Took a quick look at :invitable and there's a resource.where(email: email)... query constructed when building a resource (or something along those lines). It is not easily overridden to be patched in devise-multi_email. It might be something you could contribute to :invitable and here.

from devise-multi_email.

joelvh avatar joelvh commented on May 23, 2024

@clairity not a use case I've considered. There's a refactor going on in #16 - don't know if it will work better, but maybe there's a simple fix to address your situation?

Also, what breaks in invitable?

from devise-multi_email.

clairity avatar clairity commented on May 23, 2024

great, thanks! there's no obvious breakage right now, but i'll let you know if i find any.

i didn't really look into why :invitable was failing since it wasn't a pressing need, but i believe it was a column users.email does not exist issue (which makes sense, since the email column has been moved to the emails table). that seems to be more of an issue with the devise_invitable gem though.

from devise-multi_email.

allenwq avatar allenwq commented on May 23, 2024

@clairity looks like your issue is fixed, will close this.

Thanks @joelvh !

from devise-multi_email.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.