Categories: None [Edit]
stately_scopes
I've found that when developing Rails apps, I tend to almost always pair each scope with an instance method which returns a boolean indicating whether the object is included inside that scope.\n\nThis gem simply automatically creates that method for you. Nothing super fancy, and you might consider replacing the state methods with your own, more efficient, implementations - but it's great for early stages of development, or providing a comparative case for unit tests.
Total
Ranking: 82,023 of 198,774
Downloads: 12,174
Daily
Ranking: 40,441 of 198,739
Downloads: 3
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 |
|---|---|---|
| 1 | 3,972,983,480 | bundler |
| 8 | 1,469,998,038 | rake |
| 14 | 1,349,101,799 | minitest |
| 37 | 870,809,494 | activerecord |
| 286 | 202,679,695 | sqlite3 |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | thetron |