Created: 2008-06-27 09:54
Updated: 2016-05-08 10:10
License: mit


NOTE: This project is outdated. Use is not recommended. It is kept online as a reminder of the code I wrote several years ago, making the stuff I do now look good.

acts_as_publishable 1.1

This plugin lets you add basic time-based publishing-behaviour to your models by specifying a publication range with to date attributes.


To use simply call the plugin in your model:

class Post < ActiveRecord::Base

This includes two special finder methods for finding published and unpublished models, and adds some basic instance methods for working with individual objects--most notably the published?-flag.


You can check if the plugin installed correctly by testing it yourself (in the plugin dir.):

rake test

More information

Find more information in the inline documentation or at this plugin's homepage at

Copyright (c) 2007 Arjan van der Gaag, released under the MIT license

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more