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: 189,536 of 198,774
Downloads: 1,155
Daily
Ranking: 103,943 of 198,739
Downloads: 0
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 |
|---|---|---|
| 6 | 1,483,633,900 | activesupport |
| 37 | 870,809,494 | activerecord |
| 45 | 819,467,089 | railties |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kido |