Categories: None [Edit]

stately_scopes

https://rubygems.org/gems/stately_scopes
https://github.com/thetron/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

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,010,000,950bundler
101,165,196,519rake
151,089,266,387minitest
36719,366,671activerecord
275165,696,742sqlite3

Owners

#GravatarHandle
1iconthetron