You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get undefined method `invitation_created_at=' for #User:0x007fd89b773c80 when I try to use User.invite!(:email => invitation_email). invitation_email comes from a form a user fills in to invite someone else.
I have not touched this rails app for a while but should just fix a couple of small issues and did a bundle update. Realised I didnt use the latest Devise and devinse_invitable but now has this in my Gemfile to use 1.2.2 and Device 3.1.0
gem 'devise', '>= 3.1'
gem 'devise_invitable', '>= 1.2', :git => 'https://github.com/scambra/devise_invitable'
´´´
Do not understand why this does not work? Do I need to do anything else when upgrading?
The text was updated successfully, but these errors were encountered:
Is this backward compatible with 'invitation_sent_at' from 1.1.x? I have an existing app and don't want to break existing invites when I deploy the upgrade to 1.2. Thanks!
If invitation_created_at is null, invitation_sent_at is used. Also, you can copy invitation_sent_at to invitation_created_at. If you don't use skip_invitation they should have same time
I get undefined method `invitation_created_at=' for #User:0x007fd89b773c80 when I try to use User.invite!(:email => invitation_email). invitation_email comes from a form a user fills in to invite someone else.
I have not touched this rails app for a while but should just fix a couple of small issues and did a bundle update. Realised I didnt use the latest Devise and devinse_invitable but now has this in my Gemfile to use 1.2.2 and Device 3.1.0
The text was updated successfully, but these errors were encountered: