Comments (4)
@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.
@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.
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.
@clairity looks like your issue is fixed, will close this.
Thanks @joelvh !
from devise-multi_email.
Related Issues (20)
- Cant login after moving all email to new table HOT 27
- Compatibility with `devise-encryptable`
- Emails is invalid HOT 2
- Change primary email method HOT 3
- Multi email invitable module needs to delegate to configured `primary_email_method_name` HOT 5
- Email validation not showing correct message HOT 6
- Access User record from confirmation email HOT 2
- undefined method `devise' for Email HOT 1
- Deprecation warning in Rails 6.0.0.rc1 for email uniqueness validation HOT 1
- Can we please get a new release? HOT 3
- Add a Rails 6 gemfile HOT 2
- Add a test to the lib/devise/multi_email/email_model_manager.rb
- Initializer not working for version specified on Rubygems
- Allow resetting password with any email HOT 1
- README is wrong about send_devise_notification method placement HOT 1
- chore: Tag 3.0.0 in Git HOT 1
- integration with devise_token_auth
- Fix Rails 6.1 deprecation warning HOT 4
- Move from travis-ci.org to travis-ci.com
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devise-multi_email.