devise_invitable icon indicating copy to clipboard operation
devise_invitable copied to clipboard

Rspec warning: instance variable @accepting_invitation not initialized

Open stevejc opened this issue 7 years ago • 2 comments

The following warning is coming up when I run my tests in Rspec

rvm/gems/ruby-2.5.1/gems/devise_invitable-1.7.4/lib/devise_invitable/models.rb:116: warning: instance variable @accepting_invitation not initialized

stevejc avatar Dec 28 '18 01:12 stevejc

Same. Google brought me here. Weird.

/.asdf/installs/ruby/2.5.8/lib/ruby/gems/2.5.0/gems/devise_invitable-2.0.3/lib/devise_invitable/models.rb:125: warning: instance variable @accepting_invitation not initialized

btoone avatar Mar 12 '21 00:03 btoone

For other Googlers that find this, you can suppress warnings if desired using the ruby-warning gem. Helpful article here 👉 https://dev.to/qortex/ruby-suppress-those-warnings-you-can-t-do-anything-about-6ie

btoone avatar Mar 21 '21 16:03 btoone