Sha256: ae0a2b057c6f220996c19aa7fa5d747a34d45636af4b5ac567bf9bc5e02c6c39

Contents?: true

Size: 205 Bytes

Versions: 11

Compression:

Stored size: 205 Bytes

Contents

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
howitzer-2.6.1 generators/prerequisites/templates/user.rb
howitzer-2.6.0 generators/prerequisites/templates/user.rb
howitzer-2.5.0 generators/prerequisites/templates/user.rb
howitzer-2.4.0 generators/prerequisites/templates/user.rb
howitzer-2.3.0 generators/prerequisites/templates/user.rb
howitzer-2.2.0 generators/prerequisites/templates/user.rb
howitzer-2.1.1 generators/prerequisites/templates/user.rb
howitzer-2.1.0 generators/prerequisites/templates/user.rb
howitzer-2.0.3 generators/prerequisites/templates/user.rb
howitzer-2.0.2 generators/prerequisites/templates/user.rb
howitzer-2.0.1 generators/prerequisites/templates/user.rb