Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source "https://rubygems.org"

ruby "3.3.0"
ruby "3.3.4"

gem "rack-cors"

Expand Down
3 changes: 2 additions & 1 deletion backend/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ PLATFORMS
arm-linux-gnu
arm-linux-musl
arm64-darwin-22
arm64-darwin-23
x86-linux
x86-linux-gnu
x86-linux-musl
Expand All @@ -228,7 +229,7 @@ DEPENDENCIES
tzinfo-data

RUBY VERSION
ruby 3.3.0p0
ruby 3.3.4p94

BUNDLED WITH
2.5.14
2 changes: 1 addition & 1 deletion backend/app/models/reservation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ class Reservation < ApplicationRecord
validates :pet_age, numericality: { only_integer: true, greater_than_or_equal_to: 0 }, allow_blank: true
validates :reservation_date, presence: true
validates :owner_phone, format: { with: /\A\d{10}\z/ }, allow_blank: true
validates :owner_email, format: { with: URI::MailTo::EMAIL_REGEXP }, allow_nil: true
validates :owner_email, format: { with: URI::MailTo::EMAIL_REGEXP }, allow_blank: true
end
Loading