generators/prerequisites/templates/user.rb in howitzer-2.0.0 vs generators/prerequisites/templates/user.rb in howitzer-2.0.1
- old
+ new
@@ -1,7 +1,9 @@
require_relative 'base'
# Example User Model
class User < Base
+ attr_accessor :email, :name, :password, :password_confirmation
+
def self.default
where(email: Howitzer.app_test_user).first
end
end