similar to: Eager load mysteriously deletes records

Displaying 20 results from an estimated 100 matches similar to: "Eager load mysteriously deletes records"

2005 Mar 04
3
optimization
Ok, so, I''ve written my first app in rails. It''s pretty nifty. Only one problem. Slower than you could possibly comprehend. Processing PersonController#show (for 67.138.254.231 at Thu Mar 03 21:04:16 Eastern Standard Time 2005) Parameters: {:id=>"1", :controller=>"person", :action=>"show"} [4;35mPerson Load (0.219000) [0;37mSELECT
2000 Jul 27
1
Network confusion
Whens the point and click GUI coming out? All kidding aside, I seem to be confused about some of the network settings. Essentially all I want is a secure tunnel from machine A to B on two different physical networks, but I can't seem to get there. Just to get things figured out I've got two machines on the same physical network, mach A: 192.168.0.1, mach B: 192.168.0.3. bcast is
2009 May 19
0
submit_to_remote fails on rails 2.2.2
submit_to_remote fails on rails 2.2.2 and rails 2.3.2 but fully working with 2.0.2 please give me an answer as soon as possible. its very urgent the code is HTML ==== <% form_for :todo, @todo, :url => { :action => "update_todo" } do |f| %> <div> <p> <label>Todo</label> <%=f.text_field :name%> </p> <p>
2011 May 22
6
How to capture correctly a specific exception
I a using delayed_job, and I am raising an exception this way : config/initializers/custom_exceptions.rb class RemoteLockerException < StandardError; end class RemoteLockerDenied < StandardError; end lib/instruction_request_job.rb class InstructionRequestJob < Struct.new(:style, :request_id) def perform .... > connector =
2002 Sep 24
5
Floor type 0 and residues type 0 and 1
Hi, it seems to me as if all vorbis-files only contain floors of type 1 and residues of type 2. Is it possible to "force" the encoder to somehow create a vorbis-file with the other floor and residue types? Tor <p><p><p>=================================================================== EASY and FREE access to your email anywhere: http://Mailreader.com/
2007 Oct 18
12
first cut at blockless given/when/then
Hi all, I committed a first cut at blockless Givens/Whens/Thens to RSpec''s trunk: cd /path/to/rspec/project svn up cd rspec bin/spec examples/story/calculator.rb Take a look at examples/story/calculator.rb to see what''s going on. Needs docs!!!! Thoughts welcome. I''ve also got a cut at the plain text parser checked in, but it''s not hooked up to anything
2006 Sep 26
0
Is it possible to render RXML partials in RHTML templates?
I have a RHTML template and I would like the output of a RXML partial to be embedded within it. When I do <%= render(:partial => ''list_edit'') %> where there exists a _list_edit.rmxl file, I get XML parsing errors in the browser - I believe because the partial is causing the rendered content to be identified as XML instead of HTML. Is there any way to
2005 Apr 26
0
NoMethodError (undefined method `fetch_fields' for nil:NilClass)
Hi I''m new to Rails (and Ruby) and I can''t get it to work properly. Every time I want to do something with my database-connection (e.g. use scaffold) I get this, or something similiar (from development.log): >> Beneath this code there''s some more text << ------- Processing CategoryController#index (for 127.0.0.1 at Tue Apr 26 21:43:45 CEST 2005)
2007 Oct 14
40
Step matchers
I think we all know that the readability of steps isn''t great right now, and in fact there''s a very recent thread that discusses just that. It was that recent thread that prompted me to explore this a bit. The basic idea is that you define step matchers, which have a regex, and then you match step names against that regex. Kind of tough for me to explain so I''ll just
2007 Sep 25
7
simple story, extract link
hi, I just started fooling around with story runner, thought I''d start with a dead simple scenario: The first thing I do when describing a site to someone is go to the home page, and begin exploring public pages from there. So, that seems like a good first story to spec out. And I''d really like to extract the actual link from the rendered page (rather than just
2008 Nov 07
13
features and form filling - going declarative?
I''m working on writing features for a wizard. The wizard collects information from a number of different forms, and you can navigate through it in a number of ways. Anyhow one of these forms is a customer form collecting name, and email. In the context of the wizard I feel that the following scenarios Scenario: Given I step to customer And I fill in my customer details
2020 Nov 10
4
samba-tool gpo listall error
More problems... So cat /etc/resolv.conf yields nothing. root at ad2:~# ll /etc/resolv.conf lrwxrwxrwx 1 root root 39 Jun 17 2018 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf Shows a broken link. Since this is Ubuntu 18.04 with systemd and the stub-resolv.conf missing, I'm lost. I'll test my google fu to try to figure this out, but if someone can point me in the right
2005 Jun 24
0
lighttpd - sporadic mysql errors
I''m getting a strange error in the production.log (I''m on a TxD shared server). The first entry is a successful request from right after restarting lighttpd and killing all the procs, the second is the error after accessing the site half an hour later without having changed anything. Restarting lighttpd resolves the issue. What might be going on?
2006 Nov 24
6
Need clarifications: Xen and winXP HVM: pci direct access, USB, desktop resolution
Hi list, I''m totally new at xen and apologize for my ignorance. What I''m trying to do is the following: I''ve got a laptop with core 2 duo cpu. Dom0: Fedora Core 6. Dom1: WinXP HVM I want to give the Dom1 full access to the wifi card, and the possibility to use USB pen drive. So I''ve hidden the pci address (according to lspci output) in the kernel''s
2015 Feb 02
2
hello world
Hi, As someone who just recently came to the Syslinux project, with a different agenda but still a Syslinux noob maybe I can add my perspective. The Doc/Wiki makes perfect sense from a DEVELOPERS point of view, but I think the point here is maybe from a USERS point of view not so much. Even approaching syslinux with the purpose of building a custom .c32 module and leveraging the core syslinux
2009 Jul 17
2
Resolution changes sometimes rearranging desktop
Sometimes when I play games that use a resolution different from my normal X display, the windows on my workspace get shifted over toward the upper left. It's an issue that's been happening for a long while and I'm not sure if this is more of a general X issue or something specific to wine. As far back as I remember, it only happens with wine (0.x-0.9, 1.0, 1.1) and I've seen it in
2013 Apr 08
1
Xen XCP blog stats
Just a brief update, the XCP entry in my blog appears to be one of the most popular pages on my site on a recurring basis I think this is a sign that (surprise surprise) people are using Debian for servers, they want to continue doing so in the cloud/virtualization era and the ability to run XCP this way is something they specifically want - big thanks are due to all those who have made it
2010 Mar 30
2
Cron and Cluster
I need an idea on how to accomplish this: I have a cluster that I only want to run cron jobs on when its active. I know the cron script can check for node status, but then I have multiple copies to maintain wheres my existing resources all reference config on the shard fs (httpd/sql etc) so a change on the active node makes that permanent on the next node. Any idea how to do this? Thanks! jlc
2012 Sep 17
1
Shared Mailboxes in a multi domain environment
Hi, I would like to enable mailbox sharing for my users. I'm using dovecot 2.1.9 with vpopmail authentication. For security reason shared mailboxes should be available only for users of the same domain. Dovecot's wiki suggest to enable acl like this: plugin { # assumes mailboxes are in /var/mail/%d/%n: acl_shared_dict = file:/var/mail/%d/shared-mailboxes.db } but in vpopmail,
2008 Apr 15
5
wine config is stuck in 800 x 600 i think...
i wanted to config something but mess up the config panel. i cannot switch back to default. was very visible before, but now its not useful in anyway i tried removeing wine using synaptic package manager but the screwed settings still remain i tried moving around the window to select the graphics tab but it can not scroll down to select resolution (wine conf ) i tried reinstalling but its