test/dummy/app/models/widget.rb in devise-security-0.16.0 vs test/dummy/app/models/widget.rb in devise-security-0.17.0

- old
+ new

@@ -2,9 +2,7 @@ class Widget < ApplicationRecord belongs_to :user validates_associated :user - if DEVISE_ORM == :mongoid - field :name, type: String - end + field :name, type: String if DEVISE_ORM == :mongoid end