luckyframework / luckyframework/lucky
Add helpful error when using select_tag with an attribute
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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