ruby / ruby/gem_rbs_collection
`ActiveRecord::ReadonlyAttributeError` seems to be missing from `activerecord`
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 303
- Forks
- 136
- Avg merge
- 5h 15m
- Merged PRs (30d)
- 6
Description
Hi all,
ActiveRecord::ReadonlyAttributeError seems to be missing from the RBS of activerecord (checked against 8.0 => https://github.com/ruby/gem_rbs_collection/blob/main/gems/activerecord/8.0/activerecord-generated.rbs)
In AR it is defined here:
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
Compare the ActiveRecord source at activerecord/lib/active_record/readonly_attributes.rb with the generated signature file activerecord-generated.rbs for version 8.0. Add the missing exception declaration to the appropriate RBS location, then regenerate or validate the ActiveRecord signatures and confirm that ActiveRecord::ReadonlyAttributeError is present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100