def find_export_data(options={})

        # merge with defaults then pull out the supported find and scope options
        merged_options = options.reverse_merge(exportable_options)
        find_options  = merged_options.slice(:conditions, :order, :include, :group, :having, :limit, :offset, :joins)
        scope_options = merged_options.slice(:scopes)

        # apply scopes and then find options
        collection = self
        scope_options[:scopes].each do |scope|
          collection = collection.send(scope)
        end
        # For Rails 2.3 compatibility
        if ActiveRecord::VERSION::MAJOR < 3
          collection = collection.find(:all, find_options)
        else
          # they should not be sending find options anymore, so we don't support them
          collection = collection.all
        end
        return collection
      end
def find_export_data(options={})

        # merge with defaults then pull out the supported find and scope options
        merged_options = options.reverse_merge(exportable_options)
        find_options  = merged_options.slice(:conditions, :order, :include, :group, :having, :limit, :offset, :joins)
        scope_options = merged_options.slice(:scopes)

        # apply scopes and then find options
        collection = self
        scope_options[:scopes].each do |scope|
          collection = collection.send(scope)
        end
        # For Rails 2.3 compatibility
        if ActiveRecord::VERSION::MAJOR < 3
          collection = collection.find(:all, find_options)
        else
          # they should not be sending find options anymore, so we don't support them
          collection = collection.all
        end
        return collection
      end
<tt>find_export_data</tt> finds all objects of a given
 class using a combination of the default export options and the options passed in.
 Valid options include :scopes and the standard find options. It returns a collection of
 objects matching the find criteria.
 See <tt>to_export</tt> for more details on the options.