From 23fc424b7aea139a0aff5cd347f46c81e50c2c56 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 7 Nov 2016 01:14:12 +0100 Subject: Account notes (bios) can now contain links. Character limit upped to 160 --- app/models/account.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/account.rb') diff --git a/app/models/account.rb b/app/models/account.rb index cb186b465..936095ffd 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -21,7 +21,7 @@ class Account < ApplicationRecord # Local user profile validations validates :display_name, length: { maximum: 30 }, if: 'local?' - validates :note, length: { maximum: 124 }, if: 'local?' + validates :note, length: { maximum: 160 }, if: 'local?' # Timelines has_many :stream_entries, inverse_of: :account, dependent: :destroy -- cgit