@pnorman commented on this pull request.
> @@ -17,5 +17,6 @@ class UserPreference < ApplicationRecord
belongs_to :user
validates :user, :associated => true
- validates :k, :v, :length => 1..255, :characters => true
+ validates :k, :length => 1..255, :characters => true
+ validates :v, :length => 1..10_000, :characters => true
Preferences have to be valid Unicode or else they can't be represented in the
XML sent to the client
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6399#discussion_r2384235920
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6399/review/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev