ROR - Excel Export Example

If you are running on Windows you can use create and read speadsheets using the 'win32ole' require

This sample should give you the basic idea

steve wrote:

If you are running on Windows you can use create and read speadsheets using the 'win32ole' require

This sample should give you the basic idea ------

def export   require 'win32ole'

      @sort_by = 'last_name'       current_user = 'steve'       @records = Contact.find(           :all,           :conditions => ["created_by = ?", self.current_user.login.to_s] #,           #:order => @sort_by           )

As server side solution, it does not scale at all.

Regards,

rp8