similar to: ActiveRecord''s has_many, allways fetched from db?

Displaying 20 results from an estimated 10000 matches similar to: "ActiveRecord''s has_many, allways fetched from db?"

2006 Jul 02
7
Generic SingleTable inheritance
Hi all, I would like to discuss a design idea I have in mind with you, in order to get critical feedback. ActiveRecord supports single table inheritance(STI) "per se", BUT you must add all possible instance variables(properties) of all subclasses to the "base table"(as columns). I would like to circumvent this restriction. Say we have a class AbstractGenericThing <
2008 Dec 17
9
Rails 2.2.2 and globalize - undefined method `render_file' for class `ActionView::Base' (NameError)
Looks like globalize (1.2) is not compatible with rails 2.2.2. I am getting: '' => Booting Mongrel (use ''script/server webrick'' to force WEBrick) => Rails 2.2.2 application starting on http://0.0.0.0:3003 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3003 ** Starting Rails with development environment...
2005 Aug 22
3
Cannot compile 3.0.x on Solaris 9
Dear list, is there anyone who successfully compiled a Samba 3.0.X on a Solaris 9 box? I tried severl versions of Samba 3.0.* on five rather differently configured Solaris 9 boxes (Sparc) and ALWAYS get a build error on dynconfig.c Sometimes it seems to be a missing ldap-preprocessor define (which is protested by the compiler although I configured --with-ldap=NO), sometimes it is a header file
2006 Feb 27
1
[PATCH] Fix qemu-dm segfault when multiple HVM domains ---Was: qemu-dm segfault with multiple HVM domains?
Hi, John Can you try the attached patch ? This issue can be reproduced on SMP platform, while the domain 0 is UP. The reason is, after finishing a dma request, the dma thread will trigger the interrupt and then clear the call back function. When guest get the interrupt , it will try to check the call back function, if it is set, then it will trigger a dma request again. So if the checking for
2012 Feb 02
1
[LLVMdev] Disjoint types after reading several modules
On 2/2/12 2:32 PM, Duncan Sands wrote: > On 02/02/12 14:25, Clemens Hammacher wrote: >> On 2/2/12 1:51 PM, Duncan Sands wrote: > ... >>> what do you mean by "copied over to the main module"? If you want to add >>> additional IR to the main module then you should link it in using the >>> linker. >> >> I think that the linker would indeed
2012 Feb 02
2
[LLVMdev] Disjoint types after reading several modules
On 2/2/12 1:51 PM, Duncan Sands wrote: > On 02/02/12 13:30, Clemens Hammacher wrote: >> On 2/2/12 1:15 AM, Chris Lattner wrote: >>> I have to ask: why are you writing these modules out as separate bc files? >> >> I knew that someone would ask that ;) >> We need to have separate modules during runtime. One of them contains the code >> that is actually JIT
2012 Feb 27
2
[LLVMdev] mapping types from a bitcode module
Hi Clemens - thanks for your response. Clemens Hammacher wrote: > Hi Michael, > > since noone of the experts answered, let me share our experiences. We > recently had exactly the same problem, I posted on this list on January > 31st. > I didn't follow Duncans advice to "just use the linker", since for > several reasons we wanted to have unique struct types
2011 May 25
2
g_dbus_connection_real_closed when starting lightdm
Hi, I made the switch from KDE4->XFCE, and because gdm takes more time than xfce to start I would like to replace it with lightdm. I installed lightdm, set it as default display manager and configured the gtk greeter. However, when I start I only get a black screen (x running) and nothing else happens. When I start it as root with the --test-mode argument, I get the following message: lightdm
2013 Apr 09
2
Mistake in German Error message for friedman.test
There are two misspellings in the german Error message for friedman test: Fehler in friedman.test.default(cont$score, group = cont$goup, blocks = cont$cont) : y, Gruppen und blöcke müssen die sekbe Länge haben The correct spelling would be: Fehler in friedman.test.default(cont$score, group = cont$goup, blocks = cont$cont) : y, Gruppen und *Blöcke* müssen die *selbe* Länge haben Instead of
2012 Feb 02
0
[LLVMdev] Disjoint types after reading several modules
Hi Clemens, On 02/02/12 14:25, Clemens Hammacher wrote: > On 2/2/12 1:51 PM, Duncan Sands wrote: ... >> what do you mean by "copied over to the main module"? If you want to add >> additional IR to the main module then you should link it in using the linker. > > I think that the linker would indeed be able to remap the types correctly, but > the main obstacle here
2008 Oct 15
1
Parameter estimates from an ANCOVA
Hi all, This is probably going to come off as unnecessary (and show my ignorance) but I am trying to understand the parameter estimates I am getting from R when doing an ANCOVA. Basically, I am accustomed to the estimate for the categorical variable being equivalent to the respective cell means minus the grand mean. I know is the case in JMP - all other estimates from these data match the
2009 Dec 25
5
[Bug 25795] New: windows not redrawn after resize
http://bugs.freedesktop.org/show_bug.cgi?id=25795 Summary: windows not redrawn after resize Product: xorg Version: 7.4 Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org
2012 Feb 02
0
[LLVMdev] Disjoint types after reading several modules
Hi Clemens, On 02/02/12 13:30, Clemens Hammacher wrote: > Hi Chris, > thanks for your answer! > > On 2/2/12 1:15 AM, Chris Lattner wrote: >> The linker has to solve the exact same problem (read multiple .bc files and >> unify types across them). This is the impetus behind TypeMapTy in >> lib/Linker/LinkModules.cpp. You'll probably need to do something like that.
2016 Jul 07
2
Nouveau fails to initialize G94GL / Quadro-FX1800 on aarch64 board
Hi again, Some further digging revealed that NVPlatformProbe is called with the flag PLATFORM_PROBE_GPU_SCREEN, so the flag XF86_ALLOCATE_GPU_SCREEN is passed to xf86AllocateScreen. After xf86AllocateScreen I end up with xf86GPUScreens == 1 and xf86NumScreens == 0. The xf86GPUScreens seems to be ignored by all the following code, only xf86NumScreens is evaluated afterwards in xf86BusConfig:
2001 Aug 15
2
rsync without reverse dns lookup
Hello, I set up an script witch connects my rsyncd server. But the IPs for rsyncd Server and Client have no DNS Name, and so rsync trys to lookup for a DNS Name for this IPs. This causes a long DNS Timeout! My question: is there a commandline option to disable this "feature"? Or can you give me quick "hack around"? Best regards -- Clemens Gesell <cgesell@astaro.de> |
2009 Aug 08
4
how to get id of other table
Hi All, I have a doubt regarding join tables I''m having 2 models 1)Fac 2)Cont and both models have " has and belong to many" relationships so there are 3 tables 1)facs 2)conts 3)conts_facs then i''m fetching the data in controller as @conts=Cont.find(:all]) @cfacs=Fac.all(:joins=>:conts, :select=>"facs.name") but i dont know how to get the
2014 Jul 21
3
Text sometimes missing on NV18 based laptop
Hi, On my NV18 based laptop I experience artifacts related to text (however, 2D performance is really great these days): - With grayscale AA text is sometimes missing, often visible on the XFCE desktop - With subpixel (rgb) AA, even non-text related occur (icons are misrendered, ...) I've reported the issues here: https://bugs.freedesktop.org/show_bug.cgi?id=81283 With noaccel it works
2005 Aug 23
1
Problem with AUTH causes serverside lockup
Hello all, I am running Dovecot alpha1, and after about 24 hours of the server working fine, it starts to lock up when I open Thunderbird to check mail. Basically I can see new mail, but when I click it, it just hangs at "Loading message...". I get the following in my maillog: Aug 23 09:25:28 palantir dovecot: auth(default): client in: AUTH 1 PLAIN service=IMAP
2011 Nov 01
3
factor level issue after subsetting
Dear list, I cannot figure out why, after sub-setting my data, that particular item which I don't want to plot is still in the newly created subset (please see example below). R somehow remembers what was in the original data set. A work around is exporting and importing the new subset. Then it's all fine; but I don't like this idea and was wondering what am I missing here? Thanks!
2011 Mar 07
2
Summer of Code project idea
Hi, Will btrfs/oracle mentor students for this year''s "Google Summer of Code 2011"? I would like to work on a Windows-IFS driver which uses coLinux as a "backend" - and therefor support all Filesystems the Linux kernel has drivers for. Although not as cool as a native btrfs driver for windows, in the long term this could be even more profitable for btrfs - without