acts_as_publicable 0.0.2
This gem will give you only two scopes and a method for handling published/unpublished stuff. Nothing remarkable bur saved me a lot of typing when I wrote it for a project with an huge number of publishable models. Suggestions are more than welcome.
Gemfile:
=
安裝:
=
Runtime 相依性套件 (1):
rails
>= 3.0.0
Development 相依性套件 (2):
rspec-rails
>= 2.5.0
sqlite3
>= 0