Displaying 9 results from an estimated 9 matches similar to: "Controller iterating through returned records and appending to each"
2006 Dec 20
6
select lists - DB best practice
Hey guys,
I''m putting together an app with user profiles, and each user will be
able to update a section called ''quick stats''.
This will involve lots of drop down lists with options like ''hair
colour'', ''height'', ''Location'' etc etc.
The way I m thinking about doing it is to create new table for each
group of options
2007 Sep 16
4
How far to go with ActiveRecord unit tests without hitting the database?
I''m currently try to push my limits a little bit with some of my unit
testing -- trying to avoid saving ActiveRecord objects to the database and
take advantage of mock/stub objects.
How far should I expect to get in this direction? From what I can tell,
ActiveRecord seems to fight me when it comes to associations. In other
words, many associations seem to require database queries.
2006 Jul 01
3
best approach to add form elements dynamically
I am struggling with how to add dynamically add form elements to a form
based on user action. Now here is my situation:
I have model Project that has_many line_items
On the form to create a project I initially display form elements (some
drop downs and text boxes) for adding just one line_item. There is also
a button or a link on the page (not sure if this should be in the main
form or
2011 Nov 21
6
Scatter plot - using colour to group points?
Dear All,
I am very new to R - trying to teach myself it for some MSc coursework.
I am plotting temperature data for two different sites over the same time
period which I have downloaded from a university weather station data
archive.
I am using the following code to create the plot
plot ( x = TEMP3[,"TIME"], y = TEMP3[,"TEMP"], type = "p", col =
2011 Apr 28
2
Crash in Baldur's Gate - TotSC : can someone reproduce?
Hi,
I run into a consistent crash in the GOG.com version of ToTSC (latest
patched version).
Specifically when entering house 6 as shown on
http://www.forgottenwars.com/bg1/maps/x_0700.jpg
Config: Ubuntu 10.10 x64, nVidia driver 270.41.03 kernel 2.6.38, wine 1.3.18
Can someone please check if they're also affected (or not)? I can
provide a save game if necessary.
Thanks in advance,
FD
2011 Jul 14
1
plotting x y z data from an irregular grid
Hi,
I'm trying to plot some data (z) that is linked to lat&long coordinates
(x&y). These coordinates are not however on a regular grid. I also have some
shapefiles on which I would like to overlay the data. I can plot the
shapefiles (country/city outlines) and overplot the data, but only using
quilt.plot because I otherwise always get the error message that
'Error in
2001 Feb 20
3
wine + games: Deux + Baldur 1 and 2
Hi all !
First, my apologies if this subject has already been discussed but the archives lack a
"search" feature, so I've browsed a bit but not a lot before 2001.
I browsed the winehq and I found some people have been able to use wine on Deux Ex, and
Baldur 1 and 2. I installed the games with windows (they worked fine) and then tried running
them with wine under linux (debian
2009 Aug 28
64
[PATCH 2/2] graphics passthrough with VT-d
This patch supports basic gfx passthrough on QEMU:
- disable emulated VGA adpater if there is passthroughed gfx
- register/unregister legacy VGA I/O ports and MMIOs for passthroughed gfx
Signed-off-by: Ben Lin <ben.y.lin@intel.com>
Signed-off-by: Weidong Han <weidong.han@intel.com>
_______________________________________________
Xen-devel mailing list
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list.
I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without
modifications.
How did I try it?
Created a (non-root) build environment (not a mock )
Installed the kernel.scr.rpm and did a
rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee
prep-out.log
The build failed at the end:
Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL
Checking