similar to: Problem: The command "rake db:create:all" crashes

Displaying 20 results from an estimated 1400 matches similar to: "Problem: The command "rake db:create:all" crashes"

2010 Jul 16
31
Added associations but don't see generated methods
Hi, I''ve got a Rails app working that includes two two classes, etc.: Expense & Vendor. I eventually learned that the mental concept I had of their relationship should be express in Rails as: class Expense < ActiveRecord::Base; belongs_to :vendor; end class Vendor < ActiveRecord::Base; has_many :expenses; end
2010 Apr 16
4
DEEEEPLY nested
Hello, i have "a" has many "b", "b" has many "c", and "c" has many "d" Now... "d" is a user model, and I have a current_user helper method defined. If i navigate to an "a" show page, how can I make sure that my current_user ("d") is part of that "a"? meaning how can i make sure that
2010 Feb 23
12
"no such file to load -- gettext/rails" error
I get the error below when I try to start my server. Here are the versions installed: OS: Windows Server 2008 Ruby: 1.8.7 Gems: actionmailer (2.3.5, 1.3.5) actionpack (2.3.5, 1.13.5) actionwebservice (1.2.5) activerecord (2.3.5, 1.15.5) activeresource (2.3.5) activesupport (2.3.5, 1.4.4) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) gem_plugin
2010 Feb 03
7
could not find rmagick locally or in a repository
I unzipped simple captcha in vendor/plugins Then I did >rake simple_captcha:setup Gave error: rake aborted! no such file to load -- RMagick2.so SO I thought Rmagick has to be installed. So downloaded 2.12.0 binary gem for Ruby 1.8.6 DT 2009-10-04 16:05 RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip Unzipped the file Ran ImageMagick-6.5.6-8-Q8-windows-dll.exe It installed the program in
2010 Apr 23
2
What is the difference between new and build?
What is the difference between parent.children << child.new and parent.children.build(params[:child]) -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this
2009 Sep 15
0
xts and data.frame question
Hello there! does any one know how to convert the following type of data > z DATE TIME ISIN PRICE VOL ID_DEAL RANK 1881 2009-09-11 10:30:59 RTS-9.09 117445 10 98200801 1 1882 2009-09-11 10:31:59 RTS-9.09 117450 1 98202144 6 1883 2009-09-11 10:32:59 RTS-9.09 117285 1 98203075 1 1884 2009-09-11 10:33:59 RTS-9.09 117180 3 98203828 1 1885 2009-09-11
2011 Apr 26
3
noob:Can't get IL-2/1946 to run!
I'm fairly new to Linux and Wine. I bought IL-2/1946 because it was rated as "platinum", but it won't run. I got it to load, and made sure all the .exe files were marked as executable. It won't run. I go to the main exe file (il2fb.exe) and click on it with Nautilus open as administrator (or normal), and I've tried launching from the menu and wine icons on my desktop. All
2008 Apr 30
2
Can R do rts (Regular Time Series) like S-Plus?
Dear readers, S-Plus have a rts function (Regular Time Series), which is used like so: fveks<-read.csv('http://louise.hoffman.googlepages.com/veks.csv',header=TRUE,sep=',') attach(fveks) acf(ts.intersect(rts(HC.f),rts(Ta.f),rts(GR.f),rts(W.f))) Warning the csv file is 750kB. Can the same be done in R? Lots of love =) Louise
2007 Oct 10
1
Deleting for() loop in function
Dear UseRs, I wrote following function in order to solve Data Envelopment Analysis. Reason for posting is that the function is slow when nrow(dat) is large. I wonder if other functions could substitute the for() loop in the code, such as mapply(). Can anybody help to rewrite the dea() function as efficiently as possible? The code is as follows:
2010 Apr 29
2
send_data => invalid byte sequence in US-ASCII
I''m trying to display a generated .png plot via send_data(), but it results in a server error "invalid byte sequence in US-ASCII" error. I''m pretty sure this means that I need to specify the encoding somewhere, but I haven''t been able to figure out where or how to do so. Some particulars: I''m running gnuplot through a pipe to generate a plot in .png
2010 Jan 08
0
solving cubic/quartic equations non-iteratively -- comparisons
Hi, I'm responding to a post about finding roots of a cubic or quartic equation non-iteratively. One obviously could create functions using the explicit algebraic solutions. One post on the subject noted that the square-roots in those solutions also require iteration, and one post claimed iterative solutions are more accurate than the explicit solutions. This post, however, is about
2005 Sep 20
0
Phone lines
Hello all, We have a situation where our 30 lines are maxing out, but no one is on a call. We are currently running CVS head downloaded on 15/8/2005 on a Dell Power Edge 2850. Our office mainly functions on a queue system. At the time this happened all our agents were logged in and no one was taking a call. Does anyone have a similar experience and ideas on how to fix this problem?
2008 Mar 14
0
Sola 305 with INT-0051 cable
Hello again, I have a Sola 305 (aka Powerware 3110) here connected via a serial INT-0051 cable which I am trying to get working with nut. The driver.list file indicates that nut supports the Sola 305 when connected via the INT-0025C cable using the genericups driver with upstype set to 7 but it does not mention the INT-0051. I was able to use the "Basic CheckUPS II" utility provided
1999 Dec 09
1
tsboot
Fritz, I have slightly adapted (didn't work before) "tsboot" from the "boot" library to the current time series conventions of R. The following patch will do that. I suggest to apply this patch to the file "boot/R/bootfuns.q" of the "boot" library at CRAN. best Adrian --- bootfuns.orig.q Thu Dec 9 10:07:23 1999 +++ bootfuns.q Thu Dec 9 10:06:51 1999
1999 Dec 09
1
tsboot
Fritz, I have slightly adapted (didn't work before) "tsboot" from the "boot" library to the current time series conventions of R. The following patch will do that. I suggest to apply this patch to the file "boot/R/bootfuns.q" of the "boot" library at CRAN. best Adrian --- bootfuns.orig.q Thu Dec 9 10:07:23 1999 +++ bootfuns.q Thu Dec 9 10:06:51 1999
1997 Oct 23
0
R-beta: time series structures
>represented. They are now R "objects" similar to S-PLUS "rts" >time series, but they are 3-dimensional arrays (iterations x variables >x chains). This seems like the best choice of data structure to me >but if someone else has thought more deeply about this tell me now >before I rewrite all my code! Martyn A couple of years ago I wrote a kernel of routines
2010 May 30
5
Automatically decrement value each day
I have a Person model with a points attribute. For the most part, points values will be incremented and decremented via user votes. However, I''d also like to decrement a Person''s points by half a point each day. How do I automatically decrement the value once per day? Your help is greatly appreciated :) Becky -- Posted via http://www.ruby-forum.com/. -- You received this
2018 Mar 06
0
raster time series statistics
I can't test that at the moment as I don't have the libraries. Perhaps later. Jim On Tue, Mar 6, 2018 at 11:36 AM, <Alexander.Herr at csiro.au> wrote: > Last line in the following (updated) code produces the error > require(raster) > require(rts) > require(stringr) > r <- raster(ncol=100, nrow=100) > values(r) <- runif(ncell(r)) > stack(r)->s >
2005 Aug 08
1
Here are CORRECT APC cable diagrams
+-----------------------------------------------------------------+ | | | Black APC 940-0024C Smart Signalling UPS Cable Wiring Diagram | | This information is verified and tested to be 100% correct. | | |
2018 Mar 06
1
raster time series statistics
It works if you use as.Date. But this defeates the purpose for the yearmon notion... require(raster) require(rts) require(stringr) r <- raster(ncol=100, nrow=100) values(r) <- runif(ncell(r)) stack(r)->s r->rs for(i in 1:23){ rs[]<-r[]*i addLayer(s,rs)->s print(nlayers(s)) } dt<-list(ID=seq(1:24),month=rep(formatC(1:12,flag=0,width=2),2), year=sort(rep(2016:2017,12)))