search for: user_member_id

Displaying 2 results from an estimated 2 matches for "user_member_id".

2007 Oct 11
0
display problem with to_csv
...;'User 2'','''' as ''User 3'', '''' as ''User 4'','''' as''Web Page'' FROM `edia_user_contacts`, edia_members m, edia_countries c WHERE m.id=''#{session[:member_id]}'' and user_member_id in (select partner_id from edia_member_partners where company_id = ''#{session[:member_id]}'') and c.id=`address_country`") respond_to do |wants| wants.csv do render :text => @report_data.to_csv response.headers[''Content-Type''] = ''text...
2007 Oct 16
11
how to arrange the field in excel by using to_csv
Hi all, i am exporting the file by using to_csv, but its coming as unordered rather than my expected output, if i check in the database, its working fine, but in the excel sheet it shows in the unordered,so please let me knoe, how to show orderly in the excel sheet by using to_csv. @report_data=EdiaUserContact.find_by_sql( "SELECT '''' as ''Title'',