app/models/section.rb
# scopes a find operation to return only paged sections
scopes a find operation to return only paged sections
scopes a find operation to return only paged sections
def find_paged(options = {})
      with_scope :find => { :conditions => ['show_paged_articles = ?', true] } do
        block_given? ? yield : find(:all, options)
      end
    end
def find_paged ( options = { } ) with_scope :find => { :conditions => [ 'show_paged_articles = ?' , true ] } do block_given? ? yield : find ( :all , options ) end end
scopes a find operation to return only paged sections
scopes a find operation to return only paged sections
options
<not_specific>