Displaying 3 results from an estimated 3 matches for "compdate".
Did you mean:
comdate
2006 May 22
13
How is this possible?
When run from the console, the following code works, when run through
the WEBrick server I get a "You have a nil object where you didn''t
expect it!"
class Competition < ActiveRecord::Base
has_many :comp_dates, :order=>:position
def initial_date
comp_dates.first
end
def display_dates
i_d = initial_date
if i_d.nil?
return "unknown"
2012 Jun 06
1
ARCH modelling/MA process
Hi all
ARCH modelling
I have a problem now on how to proceed with further steps in my analysis. I
did a linear OLS regression with my daily data of stock and index returns.
There is now the problem of arch in my error terms. Thus I used the
following r command:
garch(resid_desn, order=c(0,2)) ## This ARCH(2) process seems to fit the
best after trial and error. Consequently, I get there three
2006 May 22
0
Ordering one model class by details contained in another
I''m very new to rails. I have on "main" model class "Competition" with
a supporting model class "CompDates" arranged in a 1:m relationship. In
my "list" action, I would like to order the competitions by earliest
date.
In other languages, I probably would have simply created a view in the
database. If I''m trying to limit myself to migration supported database
usage though,...