similar to: find()ing rows w/ NULL columns?

Displaying 20 results from an estimated 3000 matches similar to: "find()ing rows w/ NULL columns?"

2005 Nov 22
3
Idiom for submit button?
What is the rails idiom for submit buttons on forms? All other field types have helpers, but button_to creates its own form, so should not be used. I''ve looked in "Agile Web Dev. with Rails" but can''t see what I should do instead. Is this "difficult" because it runs counter to AJAX type forms? And, related, is there a way to ensure that hitting return in
2007 Sep 07
7
Rails VERY slow on Vista
When I try to script/generate something I have to wait above 2 minutes befor I get result. Is there some way to fix this? I have Intel Core 2 Duo 6420 with 2GB RAM. On my Slackware Duron 800 MHz it takes about 45 sec... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to
2005 Nov 22
2
Error messages: relative paths seem weakly handled?
I create my rails app, with modifications to the default from a script. Having had to upgrade rails once, and knowing that this is likely to happen again because of the rapid updating of rails, it seems the most sensible way to do it. As a result, I often do /bin/rm -rf csestore and then run my script from another window to repopulate it. So naturally, to save having to cd into csestore, and
2005 Nov 23
15
:conditions => ... formatting
With code like: if @params[:pnumber] =~ /\s*p?(\d+)\s*/ if student = Student.find_first(:conditions => ["pnumber like \":pnumber%\"", {:pnumber => $1}]) @borrower = student elsif emp = Employee.find_first(:condiwions => ["pnumber like \"?\"", {:pnumber => $1}]) @borrower = emp else
2009 Jun 10
3
Problems 4.2 installing on Windows?
I keep an old Windows machine around for making sure that RedCloth Win32 binary gems install. When I try gem update RedCloth, it just installs 4.1.9. Did I do something wrong in the gemspec? Would someone else with a windows machine try it and let me know how it goes? Jason
2010 Sep 04
3
its easy but i forgot all
my models borrower ----- has_many :loans loan ----- belongs_to :borrower my loans _controller def new @borrower = Borrower.find(params[:borrower_id]) logger.debug '' @borrower.id'' logger.debug @borrower.id @loan = Loan.new respond_to do |format| format.html # new.html.erb format.xml { render :xml => @loan } end
2006 Feb 20
7
Native erb lacks -%>, where is Rails'' erb?
Native ERB in ruby, and eruby, seem to lack the -%> feature for suppressing trailing newlines. Thus erb -n script gives errors. Where is Rails ERB so I can invoke it directly? Thank you Hugh
2005 Aug 17
1
GLM/GAM and unobserved heterogeneity
Hello, I'm interested in correcting for and measuring unobserved heterogeneity ("missing variables") using R. In particular, I'm searching for a simple way to measure the amount of unobserved heterogeneity remaining in a series of increasingly complex models (adding additional variables to each new model) on the same data. I have a static database of 400,000 or
2006 Oct 12
2
How do I test a unique index?
I have a loans table and a payments table. Each loan has_many payments. So far no problem. Now, the payments table has a payment_number field, and each payment has a payment_number unique within that loan. For example, Loan A can have payment_numbers 0, 1, and 2 and Loan B can have payment_numbers 0, 1, 2, and 3 (but only one of each payment_number). I can enforce this with a unique index in
2012 Nov 29
2
Data Cleaning -New user coming from SAS
Hello, this is my first post. I have a large CSV file where I need to fill in the 1st and 2nd column with a Loan # and Account name that would be found in a line of text : like this: ,,Loan #:,ML-113-07,Account Name:, Quilting Boutique,,,,,,,,,,, I would like to place the Loan #: ML-113-07 in the first column and the account name quilting boutique in the second column. If possible I would also
2004 Jul 19
1
My fox build segfaults on Solaris 9 gcc.
On Wed, 7 Jul 2004, Hugh Sasse Staff Elec Eng wrote: > On Tue, 6 Jul 2004, jeroen wrote: > >> On Tuesday 06 July 2004 10:26 am, Hugh Sasse Staff Elec Eng wrote: >>> The last thing I get on building the Fox library is >>> >>> g++ -shared FX4Splitter.lo FXAccelTable.lo FXApp.lo >>> FXArrowButton.lo FXBMPIcon.lo FXBMPImage.lo FXBitmap.lo >
2012 Feb 07
1
survfit is too slow! Looking for an alternative
Hi All I found survfit function was very slow for a large dataset and I am looking for an alternative way to quickly get the predicted survival probabilities. My historical data set is a pool of loans with monthly observed default status for 24 months. I would like to fit the proportional hazard model with time varying covariate such as unemployment rates and time constant variables at loan
2012 Oct 16
0
Loan offer at interest rate of 2 % per annun.
Loan offer at interest rate of 2 % per annun. Do you need a loan to clear your debts/bills, or start up a business? Then consider your financial problems over. In today's economic climate, finding reliable funding sources can be frustrating and full of disappointments, but with our sophisticated loan repayment plan, everyone Smiles home. Qatar Loan Finance Foundation provides financing for
2012 Jun 13
4
[LLVMdev] Develop on trunk.
On Wed, Jun 13, 2012 at 11:43 AM, Andrew Trick <atrick at apple.com> wrote: > > On Jun 13, 2012, at 7:15 AM, Sergei Larin <slarin at codeaurora.org> wrote: > > Again, this is branch code, but if I can see something wrong in platform > independent portion, I'll track it on the trunk. > > > I hate to be the one to start this thread, but I have to say it at
2007 Mar 24
2
Two Problems while trying to aggregate a dataframe
Hello! Given is an Excel-Sheet with actually 11,000 rows and 9 columns. I want to work with the data in R. The contents are similar to my following example. I have a list with ID-number, personal name and two kinds of loan-values. I want to aggregate the list, that for each person only one row remains and where the loan-values are added. First I tried some commands with tapply but had no
2003 May 09
2
Configuration for ATA186 behind a NAT?
I wonder if someone out there could loan me a peek at their sip.conf? I have conflicting advice, for instance, about whether or not to use "nat=1" and also whether or not the ATA should be registering with the instance of asterisk it is going to be using to dial out. Thanks in advance. B.
2014 Feb 05
3
zoneminder
Is there a package for zoneminder in the std repos (base, rpmfusion, epel), or just on rpmforge? mark "unless someone's got a security DVR to loan us for testing...."
2008 Apr 03
3
Centralized DB of Windows Applications
Today, WINE has a distributed database of applications owned by the users of WINE. Practically, this solution is probably the only legal way to proceed unless the WINE project literally funds the purchase of every application for Windows. * Maybe, an owner of a specific program can loan the masters of their Windows programs to the WINE project with the guarantee that they'll be returned within
2011 Nov 04
1
survfit function?
Hi, I am working on fitting a proportional hazard model to predict the probability of default for mortgage loans. I have a question regarding survfit function. My historical data set is a pool of loans with monthly observed default status for the next 24 months. The data is left truncated (delayed entry to observation window after the loan is opened) and right censored. I would like to
2006 Oct 23
0
Construction of Dataset for time varying COXPH analysis
Question: When survfit() function is used upon a coxph object, the 'n' returned is vastly smaller (n=6) than the number of distinct loans in the dataset used. I am trying to estimate a Cox proportional hazards model for a set of loans (over 6000) using using time varying covariates. For this 6000+ loans, I have some 62,000 different vectors representing the loans at different periods of