vendor/plugins/ar-extensions-0.7.0a/lib/ar-extensions/csv.rb
# Returns CSV data without headers for an array of
# ActiveRecord::Base model objects by iterating over them and
# calling to_csv_data with the passed in +options+.
Returns CSV data without headers for an array of
ActiveRecord::Base model objects by iterating over them and
calling to_csv_data with the passed in +options+.
Returns CSV data without headers for an array of ActiveRecord :: Base model objects by iterating over them and calling to_csv_data with the passed in + options + .
def to_csv_data( options={} )
      inject( [] ) do |arr,model_instance|
        arr.push( *model_instance.to_csv_data( options ) )
      end
    end
def to_csv_data ( options = { } ) inject ( [ ] ) do | arr , model_instance | arr . push ( * model_instance . to_csv_data ( options ) ) end end
Returns CSV data without headers for an array of
ActiveRecord::Base model objects by iterating over them and
calling to_csv_data with the passed in +options+.
Returns CSV data without headers for an array of ActiveRecord :: Base model objects by iterating over them and calling to_csv_data with the passed in + options + .
options
<not_specific>