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: 79,164 of 187,571
Downloads: 11,495
Daily
Ranking: 43,003 of 187,548
Downloads: 9
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,010,000,950 | bundler |
| 10 | 1,165,196,519 | rake |
| 15 | 1,089,266,387 | minitest |
| 36 | 719,366,671 | activerecord |
| 275 | 165,696,742 | sqlite3 |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | thetron |