similar to: render :collection calling partial with phantom object?

Displaying 20 results from an estimated 2000 matches similar to: "render :collection calling partial with phantom object?"

2010 Apr 20
13
why is ActiveRecord tying to select nonex ID column?
I''ve loaded (and updated) thousands of these MeteredUsage records. In the middle of a run, I suddenly get: ActiveRecord::StatementInvalid: Mysql::Error: Unknown column ''id'' in ''where clause'': UPDATE `metered_usages` SET `cost` = 12603.46 WHERE `id` = NULL I can''t see anything that''s different about this particular record compared to
2012 Apr 05
5
rspec: identical tests fails when repeated
I''m doing RSpec controller testing with CanCan authorization, and I''m seeing something I''ve never seen in RSpec before: the same test run twice fails on the second one. I am NOT doing before(:all) or other things that should cause state to persist between tests: Here''s the relevant code: context "POST create" do context "with user logged
2011 Feb 16
3
stubbing gets undone?
I''m looking at an example where a stub seems to work sometimes, and sometimes appears to become "unstubbed". I haven''t boiled it down to a minimal example, but it goes something like this: ---- the model: class Premise << ActiveRecord::Base def lookup_stuff_on_the_web $stderr.puts("entering lookup_stuff_on_the_web with #{self}") ... end end
2003 Nov 01
4
NAT router and off-premise SIP audio problem
Our network is connected to a cablemodem using a dynamic DNS service to resolve our address. The Asterisk server has been alternately set up behind a NAT router and without a NAT router -- that is, with two NICs, one of which is providing NAT to the rest of the network; the office SIPs are behind that with static private IP addresses. Off-premise SIPs are all behind simple NAT routers.
2010 Nov 16
2
T1 with Robbed Bit Signaling
Has anyone here used T1s with RBS with asterisk? Cary Fitch
2013 Dec 14
0
[LLVMdev] Dropping debug info for base classes with pure virtual functions
On Dec 14, 2013, at 11:27, David Blaikie <dblaikie at gmail.com> wrote: > (+llvmdev) > > > On Sat, Dec 14, 2013 at 11:02 AM, Adrian Prantl <aprantl at apple.com> wrote: > Hi David, > > I just bisected a debug info problem we were experiencing down to your legendary commit: > Revert "Revert "Revert "Revert "DebugInfo: Omit debug info for
2013 Dec 14
2
[LLVMdev] Dropping debug info for base classes with pure virtual functions
(+llvmdev) On Sat, Dec 14, 2013 at 11:02 AM, Adrian Prantl <aprantl at apple.com> wrote: > Hi David, > > I just bisected a debug info problem we were experiencing down to your > legendary commit: > Revert "Revert "Revert "Revert "DebugInfo: Omit debug info for dynamic > classes in TUs that do not have the vtable for that class"”""
2018 Mar 01
8
RADIUS
Stephen John Smoogen wrote: > On 1 March 2018 at 08:42, hw <hw at gc-24.de> wrote: > >> >> I didn?t say I want that, and I don?t know yet what I want. A captive >> portal may >> be nice, but I haven?t found a way to set one up yet, and I don?t have an >> access >> point controller which would provide one, so I can?t tell if that?s the >>
2010 Nov 09
3
help getting started with javascript generated forms
How does one generate a form within a view using javascript? Specifically, assume views/premise/new.html.erb looks like this: <%= form_for(Premise.new) do |f| %> <%= f.hidden_field :full_address, :value => $FULL_ADDRESS %> <%= f.hidden_field :geocoding, :value => $GEOCODING %> <%= f.submit :value => "use this address" %> <%= f.label
2011 Sep 14
2
Cons of disabling *.i386 and *.i686 in a 64bit Distribution
Can anybody give me a reason why this would be a bad idea. So the premise for this question is that I setup an exclude=*.i368,*.i686 in my yum.conf. While doing a yum update I come across missing package dependencies for instance mkinitrd for the i386 package. I noticed there is already one for x86_64. I realized during the kickstart install that some of these *.i386 got installed before I
2016 Jun 30
3
[CENTOS ]IPTABLES - How Secure & Best Practice
Ned, Thank you very much for the response. Great example following through on the premise. It sounds like I need to have a better understanding of the traffic patterns on my network to know the optimal order for iptables filtering rules. My brief example - Premise: I want to limit outsiders from interfering with LAN client machines. So, I have the following rules regarding forwarding traffic:
2009 Mar 29
12
need trouble ticket system
Hi, I need to implement trouble tracking system, we have 250 users in one premise & 3 desktop support technicians. I need to implement trouble ticket system, where user will enter their application / other issues. Mail will be sent to technician available on duty. trouble ticket will be provided to user & will be given close stat once resolved. Kindly suggest me one such application
2016 Apr 01
2
Re: Networking issues with lxc containers in AWS EC2
On 04/01/2016 02:07 PM, Laine Stump wrote: > On 03/31/2016 06:43 PM, Peter Steele wrote: >> I've created an EC2 AMI for AWS that essentially represents a CentOS >> 7 "hypervisor" image. I deploy instances of these in AWS and create >> an number of libvirt based lxc containers on each of these instances. >> The containers run fine within a single host and
2007 Apr 10
2
Reverse-ATA : Using PSTN lines to connect to Asterisk
Hi, I'm looking for a few pointers on using ATA to connect Asterisk to the PSTN. Basically, I'm running a Hosted PBX service, and in urban centers I can usually get SIP or PRIs. Since I sell my customers SIP hardphones, the data flow is like this: Customer's SIP Hardphone ---- My own Asterisk ----- Outside lines But when it comes to smaller villages (I deal with people in tiny
2020 Oct 18
3
Using NFS to extend local email storage
We are running our IMAP mail server on a VPS in the cloud (dovecot+exim+horde webmail), and we are using our on-premises NAS for daily backups through custom rsync scripts (which work well with maildir). There is a lot of storage available on the NAS, while not so much on the VPS. Since, we often get downtime on-premises due to power outages we cannot move the mail server on-premises (though the
2004 Oct 28
1
polr versus multinom
Hi, I am searching for methods to compare regression models with an ordered categorical response variable (polr versus multinom). The pattern of predictions of both methods (using the same predictor variables) is quite different and the AIC is smaller for the multinom approach. I guess polr has more strict premises for the structure of the response variable, which methods can be used to test for
2008 Jul 16
1
Help regarding arules package
Dear R experts,   I need help to make my little program efficient which now takes 2hrs to complete.   Using arules package I developed set of rules consisted of 900 rules. Now I want to check whether a lower rule is a subset of a higher premises rule. And if it is a subset of higher premises rule then drop this rule. I am using following code but it takes too much time.      nor<-length(rules)
2003 Jul 18
1
VoIP in hotels
Our company can offer VoIP to premises and domestic users and bill the premises as a whole. We need something to enable the hotel owner to bill each guest in a hotel in real time. What solutions do exist presently? (PS: Our radius (and every telephony equipment outside the hotel) does not recognise which room in the hotel initiated the international (VoIP) call, so that's the main problem
2023 Feb 22
1
[libnbd PATCH v3 09/29] lib/utils: introduce async-signal-safe execvpe()
On 2/21/23 20:32, Eric Blake wrote: > On Tue, Feb 21, 2023 at 07:07:38PM +0100, Laszlo Ersek wrote: >> Well, given Daniel's comments meanwhile, it seems like the original >> execvp() is something we shouldn't fret about. :/ > > glibc marks execvp() and exevpe() as 'MT-Safe env', which means it > does not modify 'environ' and presumably does not use
2017 Jun 16
4
beneficial optimization of undef examples needed
All, These discussions seem to be based on the premise that there is a need for the compiler to exploit undefined behavior for performance optimization reasons. So far the only beneficial optimization I am aware of that relies on some form of “undefined” is Dan Gohman’s original project for LP64 targets of promoting i32 induction variables to i64 and hoisting sign-extension out of the