lib/publishable/acts_as_publishable.rb
# Wraps ActiveRecord::Base.find to conveniently find all records in
# not ready 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
not ready status.  Options.


Wraps ActiveRecord :: Base . find to conveniently find all records in not ready status . Options .
def find_in_not_ready(number, *args)
        with_status_scope :not_ready do
          find(number, *args)
        end
      end
def find_in_not_ready ( number , * args ) with_status_scope :not_ready do find ( number , * args ) end end
Wraps ActiveRecord::Base.find to conveniently find all records in
not ready status.
Wraps ActiveRecord :: Base . find to conveniently find all records in not ready status .
number
args