Sha256: 8d3723ebfdcc1113536247ccf37e7d6cac9379ad6f4cdf18d020f142c9dbd2d2

Contents?: true

Size: 269 Bytes

Versions: 17

Compression:

Stored size: 269 Bytes

Contents

class UpdatePasswordForm < ApplicationForm
  attr_accessor :current_password, :password, :password_confirmation

  validates :current_password, presence: true, current_password: true
  validates :password, presence: true, confirmation: true, length: { minimum: 8 }
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
kaze-0.17.0 stubs/default/app/forms/update_password_form.rb
kaze-0.16.0 stubs/default/app/forms/update_password_form.rb
kaze-0.15.0 stubs/default/app/forms/update_password_form.rb
kaze-0.14.0 stubs/default/app/forms/update_password_form.rb
kaze-0.13.0 stubs/default/app/forms/update_password_form.rb
kaze-0.12.0 stubs/default/app/forms/update_password_form.rb
kaze-0.11.0 stubs/default/app/forms/update_password_form.rb
kaze-0.10.0 stubs/default/app/forms/update_password_form.rb
kaze-0.9.0 stubs/default/app/forms/update_password_form.rb
kaze-0.8.0 stubs/default/app/forms/update_password_form.rb
kaze-0.7.0 stubs/default/app/forms/update_password_form.rb
kaze-0.6.0 stubs/default/app/forms/update_password_form.rb
kaze-0.5.0 stubs/default/app/forms/update_password_form.rb
kaze-0.4.0 stubs/default/app/forms/update_password_form.rb
kaze-0.3.0 stubs/default/app/forms/update_password_form.rb
kaze-0.2.0 stubs/default/app/forms/update_password_form.rb
kaze-0.1.0 stubs/default/app/forms/update_password_form.rb