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,626 of 190,317
Downloads: 370
Daily
Ranking: 44,598 of 190,280
Downloads: 5
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,293,977,679 | activesupport |
| 36 | 761,692,300 | activerecord |
| 46 | 713,861,040 | railties |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kido |