Displaying 2 results from an estimated 2 matches for "21864".
Did you mean:
1864
2010 Dec 06
1
as.xts error
...the code and result:
a<-read.csv("price.csv")
a$Date<-as.POSIXct(a$Date)
str(a)
'data.frame': 15637 obs. of 2 variables:
$ Date : POSIXct, format: "2010-01-04 09:45:01" "2010-01-04 09:45:02"
"2010-01-04 09:45:03" ...
$ bid_hsi: int 21850 21864 21864 21867 21859 21849 21849 21850 21854 21853
...
head(a)
Date bid_hsi
1 2010-01-04 09:45:01 21850
2 2010-01-04 09:45:02 21864
3 2010-01-04 09:45:03 21864
4 2010-01-04 09:45:04 21867
5 2010-01-04 09:45:05 21859
6 2010-01-04 09:45:06 21849
p<-as.xts(a)
Error in as.P...
2006 Mar 27
2
Form Validation with 2 models on form. Nubee Question
I have one form in which i enter Person data and Employee Data. A Person
and Employee model are used. I am using a legacy schema, so this is
forced.
How do i use save the data while using rails form validation?? I only
want both models to save if they both save.
Controller :
This odviously doesnt work:
def create_employee_and_person
employee = Employee.new(params[:employee])
person =