Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nud
Copy link
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant