similar to: many_to_many relationship problem

Displaying 20 results from an estimated 300 matches similar to: "many_to_many relationship problem"

2006 Oct 16
3
Saving many_to_many
Ahoy, i''m trying to save a many to many between "talent" and "vital stat" talent_controller.rb def edit @talent = Talent.find(params[:id], :include => [:talent_type, :vital_stats]) @talent_types = TalentType.find_all @vital_stats = VitalStat.find_all if request.post? @talent.attributes = params[:talent] @talent.attributes =
2006 Jul 04
8
writing to many_to_many table
I have three tables. users, posts, users_posts. This last one is to mark a post as read. How do I write to the users_post table? Here''s what I have: In model ''User_Post'' belongs_to :post belongs_to :user In post/view/show: <%= link_to "Mark As Read", :controller => ''post'', :action => ''post_read'', :user =>
2016 Jan 07
2
Instrucciones uso rvest
Hola buenos días: Perdonar por no contestar antes, pero estaba aislado jeje. En principio la ideas que apuntas la conozco pero es aún más sencillo en este caso ya que dichos datos te los puedes descargar de un excel que publica el INE. La cuestión que planteo es para interactuar directamente con la web. He tomado esta página como ejemplo, porque si consigo ejecutar lo que pregunto aquí, entonces
2014 Mar 12
3
Sobreponer dos mapas
Hola, Estoy tratando de sobreponer un mapa sobre otro, uno que sirva de ?background? y otro con datos. Mi primer intento lo hice usando el paquete PBSmapping. Aquí lo que hice: library(PBSmapping) estados <- importShapefile(?Entidades_2013.shp") #Aquí cargamos las entidades federativas (32 entidades) zonas <- importShapefile(?zm.shp?) #Aquí cargamos las zonas metropolitanas del país
2016 Jan 07
3
Instrucciones uso rvest
Ok, Carlos, gracias, lo miro, me lo acabo de descargar, por si alguien lo quiere está en: http://kek.ksu.ru/EOS/WM/AutDataCollectR.pdf Un saludo Date: Thu, 7 Jan 2016 12:06:40 +0100 Subject: Re: [R-es] Instrucciones uso rvest From: cof en qualityexcellence.es To: fjroar en hotmail.com CC: r-help-es en r-project.org Hola, Te recomendaría que tuvieras muy a mano este libro. El caso que planteas,
2007 Jan 23
7
Ajax
Hi, I need some help. I`m developing a data base administrator using ruby and ajax, both for the first time and I have a problem: I have a form where you can add or delete some information about a person., information related with their studies. There is no problem when I add, but when I delete, it deletes from the database but when I try to save it throughs me an error because it tries to find
2016 Sep 05
2
R SE QUEDA PEGADO e imposibilitado de trabajar.
Estimados: Tengo problemas con mi programa R. Cada vez que dejo stand-by mi compu por unos minutos, R se queda pegado, e imposibilitado de trabajar, lo que me obliga a cerrarlo y volver a abrirlo cada vez que sucede. De: Carlos Ortega [mailto:cof en qualityexcellence.es] Enviado el: miércoles, 31 de agosto de 2016 3:49 Para: javier valdes CC: Javier Valdes Cantallopts (DGA); r-help-es en
2015 Oct 14
0
custom port in cwrsync gui client for windows
2015-10-13 19:40 GMT-04:00 Richard Couture <rrc at linuxcabal.org>: > Note that my original post had -rave as the r is for recursive. > recursive is implied by -a. In other words, -rave is the same as -ave > > I have it working with cmd files, but the point is that I purchased the > GUI to avert the need to send windows users to the command line, which they > refuse to
2016 Aug 30
2
encontrar fechas saltadas
?El considerar las horas, minutos y segundos, depende de lo que quieras hacer. - Puedes incorporarlo en el campo fecha con la función de lubridate: "ymd_hms()". - Pero luego al crear el vector de referencia para encontrar los faltantes tienes que crear un vector secuencia entre la fecha mínima y la máxima. Este vector de referencia no tiene dudas de que es entre el max y
2015 Dec 17
2
Añadir encabezados a un archivo TXT
Hola Gerard, En Windows puedes hacer lo siguiente: Suponiendo que "fichero.txt" es el archivo de texto con tus variables, que se encuentra en el directorio de trabajo [compruébalo con dir()] y que "nombres" es un vector que tienes en R con los nombres que quieres poner a las variables de tu fichero, # guarda los nombres en un fichero llamado "nombres.txt"
2015 Dec 17
2
Añadir encabezados a un archivo TXT
Gerard, dos preguntas: 1) Porqué quieres directamente especificar los encabezados en el fichero? Es porqué tus ficheros no tienen las columnas igualmente ordenadas? 2) Qué sistema operativo tienes? Un saludo. Olivier ----- Mensaje original ----- De: "Reverté Calvet, Gerard" <greverte en ajmataro.cat> Para: "Olivier Nuñez" <onunez en unex.es>, "Javier
2015 Dec 16
2
Añadir encabezados a un archivo TXT
Gerard, supongamos que tu fichero de texto ("test.txt") tiene cuatro columnas separadas por espacios. Si decides llamar estas columnas por ("A","B","C","D"), lo siguiente debería funcionar: linea0="A B C D" fichero <- file("test.txt") linea1<- readLines(fichero) writeLines(c(linea0,linea1), con=fichero)
2018 Jan 04
0
Re: virt-customize error
Hi I haven´t got much detail it´s the image of AltaVault Software. Is possible to specify the boot partition in the virt-customize command? Os it´s possible to merge the partitions? BR. El 20/12/17 13:35, "Pino Toscano" <ptoscano@redhat.com> escribió: Hi, please keep the replies on the list ... On Wednesday, 20 December 2017
2016 Aug 29
2
encontrar fechas saltadas
Hola Javier. Quizás no me expliqué bien: Estoy usando esta función para identificar fechas saltadas de una base de datos en formato d/m/A; > mi_serie <- c > ref_serie <- seq(from = min(mi_serie), to = max(mi_serie) ) > > dif_series <- setdiff( ref_serie, mi_serie) > > dif_series > length( dif_series) El problema es que en REF_SERIE, me dice que los cálculos los
2016 Aug 30
2
encontrar fechas saltadas
Hola, Usé "textConnection" para poder utilizar tus propios datos y leerlos con read.table. En tu caso, si tienes los datos en un .csv, simplemente tienes que leerlos con read.table y utilizar la parte que sigue a "library(lubridate)" en el código que compartí ayer: coger la columna de fechas, leerla con "lubridate" y compararla con el vector de referencia. El error
2016 Aug 30
2
encontrar fechas saltadas
Hola, Vuelve a instalar el paquete "lubridate" y nos dices si sigues con el problema. Saludos, Carlos Ortega www.qualityexcellence.es El 30 de agosto de 2016, 14:53, Javier Valdes Cantallopts (DGA) < javier.valdes en mop.gov.cl> escribió: > Hola Carlos y a todos los miembros. > > Al llamar a ?lubridate? me encontré con el siguiente problema: > > 1] date hour T
2007 Jun 20
1
Direct access to subdirectories using smbclient
Hi I have a question How do i access a subdirectory of a windows share using smbclient? The problem is that i have a windows folder \\192.168.1.33\dvds shared in a windows machine but i want a direct access with smbclient from a linux machine to the folder \\192.168.1.33\dvds\examples. Is it possible?? any /etc/fstab setting to do this? Im using suse linux enterprise server 8 and samba 2.2.8 --
2017 Nov 29
1
virt-customize kernel question
Hi, I’m facing some problem trying to install some software in an image with virt-customize. The package I’m trying to install uses some script to check dependencies and verifies the linux-headers-4.xxxxx are installed in the guest system. The problem is that it uses the ‘uname –r’ command to obtain the kernel version, and that command seems to be replying with the host kernel version instead
2017 Feb 15
3
problemas con rBIND con distintos número de columnas
De esa forma me sigue entregando lo mismo, multiplica las variables por dos (80 obs 26 variables) debería ser (80 obs 13 variables).En concreto pega la información pero la costado, no hacia abajo. Solucionara el tema si le agrego dos columnas ficticias para que queden todas las bases con 13 variables? Saludos. [Descripción: FIRMA2] De: Carlos Ortega [mailto:cof en qualityexcellence.es] Enviado
2017 May 15
2
Datos atómicos
Carlos: Te agradezco mucho tu rápida respuesta y mucho me apena haber planteado tan mal el problema. Porque la matriz en realidad es: g1 g2 g3 g4 g5 g6 g7 g1 0 18 13 16 11 12 15 g2 18 0 25 13 22 16 10 g3 13 25 0 28 23 13 25 g4 16 13 28 0 6 7 3 g5 11 22 23 6 0 18 17 g6 12 16 13 7 18 0 8 g7 15 10 25 3 17 8 0 Entonces cada cantidad debe conservar la pertenencia al grupo