Skip to content

Make the bookmark title field length consistent with the model#396

Merged
Oumph merged 1 commit into
linuxfrorg:masterfrom
nud:bookmark-title-length
Jan 14, 2026
Merged

Make the bookmark title field length consistent with the model#396
Oumph merged 1 commit into
linuxfrorg:masterfrom
nud:bookmark-title-length

Conversation

@nud
Copy link
Copy Markdown
Contributor

@nud nud commented Mar 4, 2025

The model specifies a max length of 160 for the title column, but the form template specified a max length of 100 for the title field.

Indeed, if you look in db/schema.rb you'll find:

t.string "title", limit: 160, null: false

See https://linuxfr.org/users/tkr/liens/on-peut-tres-bien-vivre-sans-telephone-portable-comment-s-adaptent-ces-francais-qui-ont-delaiss#comment-1985307

The model specifies a max length of 160 for the title column, but the
form template specified a max length of 100 for the title field.

Indeed, if you look in db/schema.rb you'll find:

    t.string "title", limit: 160, null: false
@Oumph Oumph merged commit e3b9f99 into linuxfrorg:master Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants