app/models/tramway/user/user.rb in tramway-user-1.0.1.9 vs app/models/tramway/user/user.rb in tramway-user-1.0.1.10
- old
+ new
@@ -1,4 +1,6 @@
+require 'tramway/core/application_record'
+
class Tramway::User::User < ::Tramway::Core::ApplicationRecord
has_secure_password
# FIXME replace to tramway-admin
enumerize :role, in: [ :user, :admin ], default: :user