Commit 2dd2cd2b authored by Mario Manno's avatar Mario Manno Committed by Mario Manno

fix deprecated, dangerous regex syntax

parent df24503b
class TicketServer < ActiveRecord::Base
belongs_to :conference
validates_presence_of :url, :queue, :user, :password
validates_format_of :url, with: /\/$/
validates_format_of :url, with: /\/\z/
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment