Skip to content

Commit

Permalink
Merge pull request #1 from fuzzmaestrotest/t1
Browse files Browse the repository at this point in the history
T1
  • Loading branch information
fuzzmaestro1 authored Feb 14, 2024
2 parents 50b5beb + eb86cc4 commit 711b8f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ DEPENDENCIES
rails-perftest
rake
rb-fsevent
RedCloth (= 4.3.2)
responders
rspec-rails (= 4.0.0.beta3)
rubocop-github
Expand Down
2 changes: 1 addition & 1 deletion app/models/pay.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Pay < ApplicationRecord
belongs_to :user

# Validations
validates :bank_account_num, presence: true
validates :bank_account_num, presence: false
validates :bank_routing_num, presence: true
validates :percent_of_deposit, presence: true

Expand Down
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class User < ApplicationRecord
validates :password, presence: true,
confirmation: true,
confirmation: false,
length: {within: 6..40},
on: :create,
if: :password
Expand Down

0 comments on commit 711b8f5

Please sign in to comment.