similar to: Rails error on generated app

Displaying 20 results from an estimated 6000 matches similar to: "Rails error on generated app"

2008 Jun 19
0
Is there any plan for OpenSSH to support FIPS?
Hi OpenSSh Developer, Currently, I can make openssh-5.0p1 working in FIPS mode. The detail steps I did are as follows. 1) Build FIPS OpenSSL according to FIPS User Guide(http://www.openssl.org/docs/fips/) on HP-UX PA 11.23 box. FIPS object module is generated by compiling openssl-fips-1.1.2. FIPS OpenSSL is built by openssl-0.9.7m, which is passed fips option for Configure step. 2) Modify
2005 Sep 19
2
warning: already initialized constant
Hello all. I''m new to Rails and working on replacing an existing Perl based app. Everything has been smooth, and I''m beginning to get the hang of things. I just implemented DB based photo handling, with code directly from the Pragmatic Rails book. Here''s a fresh server log of my app, with a logged in user (by cookie and session) getting a list of his photos. The
2009 Feb 22
2
Mysql error unknown column 'columns.user_id'
Had this error when trying to add comments to another user''s photo. ActiveRecord::StatementInvalid in User photosController#show Mysql::Error: Unknown column ''comments.user_id'' in ''on clause'': SELECT photos.`id` AS t0_r0, photos.`user_id` AS t0_r1, photos.`title` AS t0_r2, photos.`body` AS t0_r3, photos.`created_at` AS t0.... I did create a user_id
2009 Jul 28
1
Fwd: randomized block design analysis in R
---------- Forwarded message ---------- From: alis villiyam <aalisiyan at gmail.com> Date: Mon, Jul 27, 2009 at 9:47 AM Subject: randomized block design analysis in R To: bolker at zoology.ufl.edu Dear All user Hello, I'm a student and I have some trouble with the experimental (columns-experiments) design of my project. I use a randomized block design with 4 treatments including a
2009 Jun 23
2
Long to wide format without time variable
Hi all, I am trying to convert a data set of physician death codings (each individual's cause of death is coded by multiple physicians) from long to wide format, but the "reshape" function doesn't seem to work because it requires a "time" variable to identify the sequence among the repeated observations within individuals. My data set has no order, and different
1997 Dec 19
1
R-beta: a bug in the lm function ?
I ran a function called BoxCox, taken from the book by Venables and Ripley, for checking the need for power transformation. This function works fine using the version 0.50 of R, but gives an error message with version 0.60. The lm function in version 0.60 is different from that in version 0.50. Is there a bug in the new lm function? Kung-Sik Chan >
2012 Mar 26
2
copy the columns based on the code
Hello, I have two different dataset, and wanted to join the two. For example I have a table of codes of cities, and other with with the codes of travels, [source for the destine]. what he wanted was to have a new data.frame with all the information city<-data.frame(city="Barcelona",cod=1) city<-rbind(city,data.frame(city="Madrid",cod=2))
2010 Nov 09
0
Preservar el nombre de un nodo en una lista después de unir dos listas diferentes
Pregunta básica sobre listas, tengo dos listas: anoml (compuesta por 67 dataframes)  y datos (67 vectores) > str(anoml) List of 67 $ Anom_e1751: num [1:456] -0.874 -0.874 -0.874 -0.874 -0.66 ... $ Anom_e1756: num [1:456] -0.984 -0.984 -0.984 -0.874 -0.464 ... $ Anom_e1773: num [1:456] -0.875 -0.95 -0.95 -0.838 -0.727 ... ... str(datos) List of 67 $ e1751.PtoLaCruz.cr.txt        
2008 Jan 10
0
BUG? has_many :through makes funny queries
So I have this structure. class Gallery < ActiveRecord::Base belongs_to :owner, :polymorphic => true has_many :folders, :order => ''slug'', :dependent => :destroy class Folder < ActiveRecord::Base has_many :photos, :dependent => :destroy, :conditions => "parent_id IS NULL" belongs_to :gallery class User < ActiveRecord::Base has_one
2010 Jan 20
1
Merge and join data
Hi, I'm looking to combine two data frames. Several of the columns are in common while the others need to be summed up. The apply functions and the merge functions don't seem to be working. I've included a basic example of what I'm trying to do below. Thanks! Sean data.frame1<-as.data.frame(matrix(c('winter','dredge','515',100,150),1,5))
2011 May 19
2
Separating boot results
Good Morning, I'm having what I hope to be a simple problem. I am generating bootstrap confidence intervals using package (boot) - which works perfectly. The issue I am having is getting the results into a format which I can write out to a database. To be clear I am having no problems generating the results, I just need to convert the format of the results such that I can store the results in
2001 Sep 27
2
Getting your stuff organized in R
I'm attaching an small text file on "Getting your stuff organized in R". (Sorry if sending an attachment is not considered a correct etiquette in r-help, but this is only 7911 bytes, plain ascii text and I cannot post it in a web page at the moment). Probably all the information in this document is scattered in one or more R introduction guides, but I think that it is useful to have
2005 Jun 29
0
NT_STATUS_NETWORK_ACCESS_DENIED - Cannot browse shares.
Dear all, I hope this is the right place to post? I have just installed Samba 3.0.13, and unable to have any users connect to any shares. My smb.conf is this: # Samba config file created using SWAT # from 172.16.22.24 (172.16.22.24) # Date: 2005/06/29 10:18:35 # Global parameters [global] workgroup = GEMINI-INT guest account = samba log level = 2 ldap ssl = no
2006 Mar 13
2
error message for empty object
I want to have some sort of message to be shown when I have an empty object. For example when I click on a properties'' gallery and their are no photos, I want a simple "gallery is empty" I have managed to do this in the view by doing a crude code block: <% unless @object.empty? %> (show gallery) <% else %> gallery is empty <% end %> I am sure rails has a
2008 Sep 18
2
Setting up Fleximage
Hello! I''ve been trying today to setup fleximage to handle photo uploads to a RoR application by following the tutorial that is provided (http://github.com/Squeegy/fleximage/wikis/gettingstarted) Originally, I just dropped in all of the sample code that they provided, which I copied below this question. - When I tried to access "new" to upload a new photo, I received an error
2007 Sep 21
3
Standardize environment between specs containing class defs
I have some specs that involve the use of eval and class definitions to test code generation. I want to always start with a clean slate so none of my tests fail or succeed incorrectly due to artifacts left over from previous specs. Example of my situation Spec 1 defines class Fish class Cod < Fish Spec 2 defines class Animal class Cod < Animal In this situation the
2012 May 29
1
problems with xlim in plot.zoo() and window()
I'm trying to get a minimally intuitive way of plotting zoo objects extracted for given periods of time I do: > plot(alyL32007z$NEE_st,col=cod,type="b",pch=18,xlim=time(alyL32007z)[c(3000,15000)]) and get a correct plot but the expression for xlim is hard to read by humans. I try > time(alyL32007z)[c(3000,15000)] [1] "2007-03-04 11:30:00 UTC" "2007-11-09
2004 Aug 13
2
lapply problem
R-help, I wish to replace NULL elements(or missing) in the following list : > z2 $cod mean sd 62.56190 12.65452 $haddock mean sd 36.61490 11.50365 $ling mean sd 86.17949 20.43587 $saithe mean sd 50.275847 5.453606 $whiting NULL $"norway pout" mean sd 13.739623 1.393104 $"great silver smelt" mean
2010 Jan 03
3
R2HTML Report number format, or Better Way?
Here I am again with question I'll feel foolish for asking, when I see the answer. I'm trying to produce a report and here's where I get stuck: How do I get R2HTML to produce the same number format? Particularly remove the decimal places for Par and Sal. Are there better methods to produce this type of report? Thanks, L.A. R version 2.10.0 XP
2006 Aug 11
1
Absolute path to public/images in rake task?
Hi all I''m trying to create a rake task for the first time, so please be a bit patient with me. ;-) I''m coding a photo gallery. Every photo gallery''s photos are in its own folder, and after an update I''d like to be able to synchronize the photo files with the database (because every photo has its own Photo class object). I''ve got so far: # File