Sha256: 8a1528e32b59e6e02792bd250b106b73ebeaf9de29f2fecb851c0afeb2bfd3c8
Contents?: true
Size: 346 Bytes
Versions: 122
Compression:
Stored size: 346 Bytes
Contents
module UserHelpers def self.system_user Marty::User.find_by_login('marty') # (system_login) end def self.create_user(name) Marty::User.find_or_create_by!(login: name, firstname: name, lastname: 'test', active: true) end end
Version data entries
122 entries across 122 versions & 1 rubygems