luckyframework / luckyframework/lucky

Add helpful error when using select_tag with an attribute

Open
#1,031 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

improve error experience
Dominant language
Crystal
Stars
2.7k
Forks
172
PR merge metrics
No merged PRs in 30d

Description

https://gitter.im/luckyframework/Lobby?at=5e635af4afdc1e2033d6540a

The error isn’t helpful so we should have a more helpful one saying to use select_input with an attribute

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the select_tag and select_input implementations and reproduce the attribute case described in the issue. Update the error so it explains that select_input should be used with an attribute, then verify the resulting message with the relevant existing checks or a focused reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
crystal
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.