search for: sinson

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

Did you mean: stinson
2007 Feb 20
2
export to xls with utf-8 charset problem
hi, Im sending data to the browser with a utf-8 charset but somehow when I open the file in excel, some garbage characters appear. Here''s my code: send_data(excel_file, :filename => "orders.xls", :type => ''application/vnd.ms-excel; charset=utf-8'' ) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You
2007 Oct 04
3
acts_as_tree - parent reference is outdated?
I''m experiencing some unexpected weirdness with acts_as_tree. class Category < ActiveRecord::Base acts_as_tree has_many :variations end def variations # some code that returns the parent category variations if we have none end >> pc = Category.new >> pc.variations << "foo" >> pc.save >> cc = Category.new >> cc.parent = pc >>