We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a19156b commit 0a0456eCopy full SHA for 0a0456e
1 file changed
app/models/organization.rb
@@ -44,6 +44,9 @@ class Organization < ApplicationRecord
44
45
include Deadlinable
46
47
+ # TODO: remove once migration "20250504183911_remove_short_name_from_organizations" has run in production
48
+ self.ignored_columns += ["short_name"]
49
+
50
validates :name, presence: true
51
validates :url, format: { with: URI::DEFAULT_PARSER.make_regexp, message: "it should look like 'http://www.example.com'" }, allow_blank: true
52
validates :email, format: { with: URI::MailTo::EMAIL_REGEXP }, allow_blank: true
0 commit comments