Displaying 20 results from an estimated 300 matches similar to: "Need help understanding Rails magic!"
2006 Mar 09
3
Need help PLEASE!!! - updating collection from form
Greetings!
I''m trying to update a set of records from the same model on one form. The AWD book gives an example on p.356 but I guess I''m not understanding it.
I can see from the error message I''m getting that the controller is receiving a hash of hashes back from the view, and that it''s got the stuff I expected (two values per record that was sent to the
2006 Mar 01
1
How-to question: form creation / different table update
I could use some direction.
I need a form to collect information on a user''s allergies. I want to present them with a form much like the one we fill out when we see a new doc where you just check-off the things you''re allergic to. When the form comes back to the controller I want to add a record to a table for each allergy they''ve checked.
I was thinking I should
2006 Sep 09
2
Server-side session management for short session expirations?
I need to effectively log a user out if their session is inactive for more than a short period of time, like 5 minutes. I need some help understanding how to approach session expiration and cleanup in Rails.
When the user explicitly logs out of my app, I delete all the data they''ve entered/that''s been created during their session. The data includes files, database records, and
2007 Feb 20
1
error message for record not found ?
I''m using backgroundrb for session management and deletion of visitor-entered information when a session is abandoned. The visitor can either click a button to end their session and remove their data, or backgroundrb will do it for them after 5 minutes of inactivity.
Everything''s working fine, I think. If the visitor explicitly logs out, then when the worker checks for their
2006 Oct 17
6
Session access interfers with other model access
Sorry to be such a bother but I''m not getting this.
I have two models: Emrec and Session (I''m using AR for session mgmt.) In my
worker I can access the Emrec model and delete a record, AS LONG AS I don''t
try to access the Session model. With the Session model access commented
out as below, the Emrec record gets deleted. If I uncomment those lines,
the Emrec
2006 Apr 18
2
[LLVMdev] Re: how to code a loop in llvm assembly
I also suffer from the same C++ allergy notably shoot in foot with dynamic grammers and overloading.. creates gasey code feeling..especially in the backend.. :)cheers!
Simon Burton <simon at arrowtheory.com> wrote: On Sat, 15 Apr 2006 07:47:00 +0200
Oscar Fuentes wrote:
>
> BTW, Simon, is there a reason for writing LLVM assembler and not
> generating LLVM code directly?
You
2003 Nov 28
2
GLM FITTED VALUES TABLE
Hi all
I have the following generalized linear problem.
In a study of allergic responses, patients arriving at a clinic in
Groote Schuur hospital were tested for sensitivity to a number of
substances. Three of these were moulds: Cladosporium (C), Alternaria
(F) and Aspergillius (T). Their level of sensitivity was measured on
the Rast Scale as: 0: not allergic 1: mildly
2006 May 10
2
trouble creating new records
Is it possible to create / save a new record from a controller other than the one I specified when I created the scaffolding?
My situation is that I have two tables. Emrecs is the parent. Actors is the child and has a foreign key named emrec_id that references emrec.id. I scaffolded both, creating controllers and views for each. My app collects info from the user to fill in the two tables,
2006 Apr 18
0
[LLVMdev] Re: how to code a loop in llvm assembly
On Tue, 18 Apr 2006, Joseph Altea wrote:
> I also suffer from the same C++ allergy notably shoot in foot with
> dynamic grammers and overloading.. creates gasey code
> feeling..especially in the backend.. :)cheers!
I have no idea what this is supposed to mean: "creates gasey code
feeling..especially in the backend.."
However, if there is serious interest, many people would
2006 Oct 17
2
accessing args in worker
If, in the controller, I start a worker and pass in an argument like this:
session[:job_key] = MiddleMan.new_worker(:class => :foo_worker,
:args => {:emrec_id => @emrec.id})
How do I access the value in the worker? I can''t seem to figure it out ;-p
Thanks!
Bill
-------------- next part --------------
An HTML attachment was
2006 Apr 17
0
[LLVMdev] Re: how to code a loop in llvm assembly
On Sat, 15 Apr 2006 07:47:00 +0200
Oscar Fuentes <oscarfv at telefonica.net> wrote:
>
> BTW, Simon, is there a reason for writing LLVM assembler and not
> generating LLVM code directly?
You mean write C++ code that calls the LLVM library ?
I have a mild C++ allergy that I don't wish to aggravate.
> The later is simpler and relieves you
> from some nasty burdens.
Yes,
2014 Oct 13
3
[LLVMdev] RFC: variable names
On Oct 13, 2014, at 3:44 PM, Chandler Carruth <chandlerc at google.com> wrote:
> I actually have a particular allergy to member variable names and function names having similar styles:
>
> bool x = i->isMyConditionTrue;
>
> Did I mean to write 'isMyConditionTrue()'? Or 'bool &x = I->isMyConditionTrue'? Or something else? I have no idea. Warnings and
2014 Feb 06
1
Pan in 6.2??
I can't seem to get a way to install Pan in CentOS, and I need it
badly. I follow most busy lists, including this one, on Gmane using Pan
(and, no, Gmane per Web is no use to me. I have some obscure allergy to
webmail).
Does anyone know an rpm (one of Fedora's, for instance) that I
can install and not immerse myself in dependency hell?
2017 Nov 03
2
HP laptops with CentOS 7?
> -----Original Message-----
> From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Valeri
> Galtsev
> Sent: den 2 november 2017 15:21
> To: CentOS mailing list <centos at centos.org>
> Subject: Re: [CentOS] HP laptops with CentOS 7?
>
>
> On Thu, November 2, 2017 8:29 am, Sorin Srbu wrote:
> > Hello all,
> >
> > I'm looking into
2014 Oct 13
5
[LLVMdev] RFC: variable names
On Mon, Oct 13, 2014 at 4:25 PM, Xinliang David Li <xinliangli at gmail.com>
wrote:
> On Mon, Oct 13, 2014 at 4:00 PM, Chris Lattner <clattner at apple.com> wrote:
>
>> On Oct 13, 2014, at 3:44 PM, Chandler Carruth <chandlerc at google.com>
>> wrote:
>> > I actually have a particular allergy to member variable names and
>> function names having
2006 Jun 09
8
[how can i delete a file system..please help]
Hi,
I''m trying to delete a file system (<xml_26548975.xml>)
File.delete("xml_26548975.xml")
But I get this error:
"Permission denied - ./script/../config/../uploads/xml_26548975.xml".
Why?
--
Cheers,
ioana k&a
http://boulangerie.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Apr 15
2
[LLVMdev] Re: how to code a loop in llvm assembly
Simon Burton <simon at arrowtheory.com> writes:
> Hi,
>
> I've read over the "LLVM Language Reference Manual"
> a few times, and writing some ll code, but i'm stuck at
> a very basic point. How to decrement a counter variable ?
>
> int %count(int %n) {
> EntryBlock:
> %cond = seteq int %n, 0
> br bool %cond, label %Exit, label %Next
>
2017 Nov 03
0
HP laptops with CentOS 7?
On Fri, November 3, 2017 3:01 am, Sorin Srbu wrote:
>> -----Original Message-----
>> From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Valeri
Galtsev
>> Sent: den 2 november 2017 15:21
>> To: CentOS mailing list <centos at centos.org>
>> Subject: Re: [CentOS] HP laptops with CentOS 7?
>> On Thu, November 2, 2017 8:29 am, Sorin Srbu wrote:
2007 Jun 06
0
R package: Mchtest - Monte Carlo hypothesis testing allowing Sequential Stopping
Hi,
This is an announcement for a package that has been up on CRAN since March 2006 but was never announced.
The package is Mchtest - for Monte Carlo hypothesis tests allowing sequential stopping. The idea is to use the sequential probability ratio test boundaries to stop resampling for a Monte Carlo hypothesis test such as a bootstrap or permutation test. This means that you will take many
2007 Jun 06
0
R package: Mchtest - Monte Carlo hypothesis testing allowing Sequential Stopping
Hi,
This is an announcement for a package that has been up on CRAN since March 2006 but was never announced.
The package is Mchtest - for Monte Carlo hypothesis tests allowing sequential stopping. The idea is to use the sequential probability ratio test boundaries to stop resampling for a Monte Carlo hypothesis test such as a bootstrap or permutation test. This means that you will take many