Categories: None [Edit]
inquiry_attrs
InquiryAttrs wraps ActiveRecord/ActiveModel (and StoreModel/Dry::Struct) attributes with
predicate-style inquiry methods. Write user.status.active? instead of
user.status == "active". Blank/nil values safely return false for every
predicate — no more NoMethodError on nil. Run `rails inquiry_attrs:install`
to generate an initializer that auto-includes the concern into every
ActiveRecord model.
Total
Ranking: 188,709 of 196,658
Downloads: 1,054
Daily
Ranking: 41,419 of 196,619
Downloads: 6
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 7 | 1,432,165,956 | activesupport |
| 37 | 839,032,779 | activerecord |
| 47 | 788,422,756 | railties |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kido |