search for: order1

Displaying 6 results from an estimated 6 matches for "order1".

Did you mean: order
2006 May 09
1
Email -Content type is not set to html
Hi to ROR! I could not change the email content type to text/html What is the problem! order1= Order.find_get_details(params[:ses_value]) #render_text order1.size order=order1[0] email = OrderMailer.create_confirm(order) email.set_content_type("text/html") email = OrderMailer.deliver_confirm(order) email.set_content_type("text/html") Alwas it shows only plain format...
2006 May 09
1
Emailcontewnt problem
I ma facing problems regarding the email-set-contentent I am writing the total code for order1= Order.find_get_details(params[:ses_value]) #render_text order1.size order=order1[0] email.set_content_type("text/html") email = OrderMailer.create_confirm(order) email.set_content_type("text/html") email = OrderMailer.deliver_confirm(order) #email = OrderMailer.deliver_conf...
2006 Jan 15
1
Cloning a one-many association
Hi, I want to make a copy of an object with its associations, and I am looking for an elegant solution. This is what I intuitively think should work, but it doesn''t: order2 = order1.clone order1.line_items.each do |o| order2.line_items.build(o) end This doesn''t work because a model class does not stringify its keys ... so I can''t pass an object into a method that wants a hash, because an object doesn''t convert itself to a hash when needed. Is t...
2008 Jun 09
0
Boxplot custom axis
I would like to add another axis on side 4 (see code below) #order the box plot any damn way I want too order1 <- factor(as.character(x$Site), levels=c("Betty's Branch", "Stevens Creek", "North Augusta", "520", "Horse Creek", "Stan's", "place","Downstream", "IP", "Vogtle&q...
2009 Oct 22
1
arima crashes too
Another pathological test. arima does not crash for that series that crashes arma: arima(c(2.01, 2.22, 2.09, 2.17, 2.42), order=c(1,0,0)) However, arima crashes for this: arima(c(1.71, 1.78, 1.95, 1.59, 2.13), order=c(1,0,0)) arima seems pretty consistent in its crashing behaviour, since crashing for one series means crashing for all affine series: lets.crash.arima <- c(71, 78, 95, 59,
2011 Sep 26
0
horizontal labels for a dendrogram
...hich does put the labels horizontally, however, it also draws rectangles around the labels which I don't want. How can I create a dendrogram with horizontal labels, without those rectangles? Some example data for the script: code;name;sex;date1;exp_type;exp1;category1;comment1;sar1;distance1;order1;n_trials;run1_name_cond1_rt;run1_name_cond2_rt;run1_name_cond3_rt;run1_name_cond1_er;run1_name_cond2_er;run1_name_cond3_er;run1_col_cond1_rt;run1_col_cond2_rt;run1_col_cond4_rt;run1_col_cond1_er;run1_col_cond2_er;run1_col_cond4_er;run2_name_cond1_rt;run2_name_cond2_rt;run2_name_cond3_rt;run2_name_c...