lib/publishable/acts_as_publishable.rb
# Wraps ActiveRecord::Base.find to conveniently find all records in
# archived status.  Options:
#
# * +number+ - This is just :first or :all from ActiveRecord +find+
# * +args+ - The rest of the args are passed down to ActiveRecord +find+
Wraps ActiveRecord::Base.find to conveniently find all records in
archived status.  Options.


Wraps ActiveRecord :: Base . find to conveniently find all records in archived status . Options .
def find_in_archived(number, *args)
        with_status_scope :archived do
          find(number, *args)
        end
      end
def find_in_archived ( number , * args ) with_status_scope :archived do find ( number , * args ) end end
Wraps ActiveRecord::Base.find to conveniently find all records in
archived status.
Wraps ActiveRecord :: Base . find to conveniently find all records in archived status .
number
args