similar to: Odd response.body behavior

Displaying 20 results from an estimated 10000 matches similar to: "Odd response.body behavior"

2007 Sep 13
5
Authenticating before tests
Hi all, I''m using Goldberg, an engine that provides roles based access control for my app. I need to login before I can do controller tests, but I can''t find any examples of people doing this. Could someone point me in the right direction? I thought the simplest way would be to either call the login action from my other tests before(:all), but I can''t seem to
2012 Sep 17
1
Odd issue with XFS quotas reporting 8192.0EB in use
Hi All, I have this very odd issue where after a migration we have some users who have quotas showing 8192.0EB in use, when in reality on disk there is only a couple hundred megabytes. The host in question is a: * CentOS 6.3 host with mostly latest patches (except latest glibc patches) * running in SELinux Enforcing mode (Permissive doesn't seem to help) * all file systems are on Logical
2008 Mar 10
2
response.body == filename?
I''m using RSpec. describe UserController do it "should require ..." do post :login, {:name => ''root''} puts response.body.to_yaml end end ....--- user/login ????? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2007 Feb 07
3
odd mock behavior
I''m seeing some odd behavior around the should_receive() when given a block combined with some cardinality. For example, with the following... my_mock.should_receive(:foo).twice do |i| puts i end ... the spec passes but i never gets puts''ed. With the following... my_mock.should_receive(:foo) do |i| puts i end ... i gets puts''ed twice but the spec fails because
2006 May 03
5
Finding the rhyme for has_many :through
Hi all, I am NOT a person with English as my mother language and I haven''t been programming long enough to be natural in these kind of things. And if that isn''t bad enough, I am a newbie on Rails too... So please enligthen. I am trying to build a simple tool for my shop. I have many products that I sell in my shop and of course I have many suppliers for the products. Thus
2005 May 14
6
HELP!! Serious memory leak in my rails app!!
I''m having a huge memory leak problem with a rails application I''m developing! I first noticed that when running under webrick (via script/server) there was a fast memory leak.. several users using the app for a few hours would use 2 gig of memory!!! I searched the archives and found that some users found that it could be avoided by saying --daemon when launching webrick..
2006 Mar 02
3
Child PID's
All, I'm not sure how to word this question but we're noticing a lot of our asterisk boxes no longer have multiple asterisk child processes. i.e. doing a 'ps ax' reveals only 1 asterisk PID when normally I'm used to seeing 8+ .. There is no rhyme or reason to it, and we're using the safe_asterisk script which has always worked in the past. Ast 1.2.4, zap 1.2.4, naturally..
2005 Oct 05
2
Transient Model Attributes in ActiveRecord
Hi all! I''ve been using an instance of my model to do "query by example".. Basically I fill in a new instance of the model and then later interrogate it to generate my conditions for find( :all ).. Where things get ugly is that I just moved several properties into a joined table, but I''d like to keep the ability to set those attributes in the original model..
2005 May 03
2
index file corruption
Hello everyone. I am new to the list, so forgive me if this has been discussed already. My configuration is as follows: Fedora Core 3, fully patched through yum through today. Dovecot 0.9.9.13 Postfix 2.1.5 Using Maildir with Mail stored in ~/Maildir My issue is that, for some odd reason the inbox file index gets corrupt, There is no rhyme or reason as to why it happens or when, but a
2005 Nov 27
3
Canvas Tag + Rails Ajax
Hi all, Just looking for a quick sanity check. I was thinking of writing a plugin for rails to give rails developers a good way of using the new firefox 1.5/safari canvas tags. I was thinking of grabbing an existing ruby graphics library and modifying it so that it renders via the canvas tag.. So you could have link_to_remote pointing to controller actions that instead of returning
2004 Dec 20
4
Asterisk Fails To Start on Reboot Mysql
Apparently asterisk cannot reboot gracefully (unattended) when using realtime.... MySQL RealTime: Failed to connect database server asterisk on 127.0.0.1. Check debug for more info. WARNING[3763]: MySQL RealTime: Couldn't establish connection. Check debug. Since asterisk starts before mysql it will never start any workaround for this? g Regards Greg Cirino
2007 Feb 15
7
Mongrel Monitoring...
I have a website that is running Mongrel that is CONSTANTLY going down. There seems to be no rhyme or reason... There must be something in the way the site was written. Is there a recommended Mongrel monitoring tool that will monitor our sites mongrel services and restart mongrel when the site goes down? The server is a UNIX machine... Thanks!! Roy -------------- next part
2008 Jan 20
5
Calls Being Randomly Bridged
Hi i have a friend who i setup an asterisk system for at his doctors office. it has 3 snom 360 phones with 6.2.x stable firmware and latest asterisk 1.4 and zaptel. They have the digium 4 port fxo card. They are extremely upset because calls are being randomly bridged for no rhyme or reason. They say that callers will call in and sometimes get connected with other callers, or they will be in
2004 Dec 07
1
Segfaults when playing GSM files
My Asterisk has started *frequently* segfaulting during IVR and voicemail activity -- it'll be playing a prompt gsm file to a caller and it'll just die (segfaulting, naturally dropping the caller) with no rhyme or reason. I've run gdb on four different core files and each one shows the reason for the segfault to be the following: #0 0x45df8b24 in Gsm_Short_Term_Synthesis_Filter
2004 Dec 21
2
sip seeding vs registration
does anybody have an idea what the difference and significance of sip seeding and registration is. g Regards Greg Cirino ___________________________________ Cirelle Enterprises Inc. 603-425-2221 www.cirelle.com Web Application Development & Design www.cirelle.net ProSpeed High Speed Dial-up - 6 Times Faster www.cedata.com Web, FTP, Email Hosting Services www.mlsbot.com NNEREN MLS IDX
2005 Jul 19
1
Linksys PAP2-NA failures...
Has anybody else experienced problems with the Linksys PAP2-NA's? I've now had two of them fail unexpectedly, with no apparent rhyme or reason, having gone into a RED power LED, with a solid blue ethernet LED. No response from the device either on the network or from the phone.... To make matters even crazier, the one that now failed was the one I received as a replacement for the
2005 Nov 14
2
Mixmonitor
Hello, I recently switched over to using Mixmonitor versus Monitor to see if it would clear up some warble that I was getting in my recordings. It did indeed clear that up, but a new problem was introduced. The recordings for no reason will just end abnormally. There is no rhyme or reason as to when they will end, but usually after a minute or so. Here is my current setup. Asterisk v. 1-2-0rc2
2007 Jun 01
1
Cisco 7961G
All, I am having a lot of trouble with the Cisco 7961G phones. I have managed to get them up and running with Asterisk to the point where I can get incoming calls and make outgoing calls. The problem is when I make outgoing calls or extension to extension calls, the calls die after 20 seconds. I have google'd around and came up with little that is of help. The firmware version I am
2004 Dec 20
1
how to prevent res_odbc from loading
I am trying to resolve a problem where grandstream phones (only) fail to register after a period of time. I have a mysql realtime setup that appears to work, but fails for no reason. before i classify the realtime system as unusable, I am trying to isolate the problem. One thing I have noticed is the odbc driver continues to load even though I have removed (from what I can tell) references to
2007 May 16
2
very odd controller spec problem
Here''s a snippet: it "should provide the fund" do get(:timesheet,{:id=>@fund.id}) assigns[:fund].should == @fund end Works fine on my box, fails on my CI server. Here''s the output: NoMethodError in ''The FundController timesheet should provide the fund'' You have a nil object when you didn''t expect it! You might have