Displaying 6 results from an estimated 6 matches for "benanderson".
2006 Mar 09
6
[Prototype] Ajax.Request include form fields?
Hi,
Is it possible to submit my form (or part of my form) with an ajax
request? I had been using dojo to do this, but having just read up on
the prototype library, I think I''d rather use prototype. The one
thing I don''t see (maybe I''m just missing it) is the ability to submit
my form (actually just parse through an element and include all inputs
as request parameters)
2006 Feb 16
1
set response headers from controller?
How do I do this? Specifically, I want to set the Content-Type to
text/xml; charset UTF-8
Thanks,
Ben
2006 Mar 08
4
order.products << product w/out persisting
Hi,
I have a one-to-many relationship. I want to be able to add objects
to the collection w/out persisting them. How do I do this?
The only thing I can''t think of is to use a transaction and roll it back.
In other words - I want to do this:
o = Order.find(1)
p = Product.find(1)
o.products << p # but don''t persist this
I assume I''m just missing something
2006 Mar 10
3
[Prototype] understanding evalScripts
Hi,
I have a misunderstanding of what I though evalScripts would do vs
what it actually does. I''m wondering if there''s a way that I can make
it do what I want.
my initial page:
<html>
<head>
<script...
var page = ''initial'';
...
<body>
<div id="replaceMe"
<script...
page = ''in
2006 Aug 06
4
[newbie] Error: Not an HVM capable platform...
Hi,
I''ve run linux off an on for several years. Recently I''ve been using
windows (simply for ease), but have gotten so fed up with stability
and what not. I had read good things about xen, so I installed suse
and was hoping to not give up the 10% of things that I need windows
for. I''ve still got windows on a partition and was wondering if I
could boot that, but wanted
2005 Nov 26
4
activerecord rake test_mysql
Hi (I''m resubmitting this because
First question: This is the rails dev list, correct?
I''d like to submit a patch and am following the steps on this page:
http://dev.rubyonrails.org/
Here''s what I did (using mysql 5.0.15-nt):
created 2 databases:
activerecord_unittest
activerecord_unittest2
created 1 user: rails (giving all priveleges to both databases)
ran