Displaying 20 results from an estimated 1100 matches similar to: "Rails 3.2 and Streaming using response_body"
2012 Sep 18
4
multiple modules defining same method included into a class
In Ruby, classes are never closed: you can always add methods to an
existing class. This applies to the classes you write as well as the
standard, built-in classes. All you have to do is open up a class
definition for an existing class, and the new contents you specify
will be added to whatever''s there. In the same regard, if module is
used with the name of a pre-existing module that
2011 May 17
1
rails render_to_string problem
Hi
I`m trying to test my controller with rspec and always get an error.
The error is in the render_to_string method call (without it test
works fine). So could u please help me with that?
users_controller.rb:
def update
@user.update_attributes!(params[:user])
redirect_to @user, :status => 202, :text =>
render_to_string(:partial => "users/show", :type =>
2013 Aug 29
2
Puma fails when it restarts itself
I''m having an issue with Puma, it fails when it tries to restart itself.
When this happens it kills all the Puma processes, resulting in nginx
delivering a 502 Bad Gateway to our users. I''m able to start, stop &
restart it with my /etc/init.d/puma script (it runs
/usr/local/bin/run-puma), it just has issues when it restarts itself. The
puma.log file doesn''t
2012 Nov 02
6
cannot load such file -- 1.9/http11
Hello,
I have installed the mongrel 1.2.0-pre2 gem into my project.
But when I do rake db:test:prepare I see this output :
cannot load such file -- 1.9/http11
Anyone a idea how to solve this ?
Roelof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/mongrel-users/attachments/20121102/2c908445/attachment.html>
2019 Mar 28
2
configuring Dovecot with wforced and auth_policy_server_url with https results in assertion failed
> On Mar 28, 2019, at 10:29 AM, Aki Tuomi via dovecot <dovecot at dovecot.org> wrote:
>
>> On 28 March 2019 16:08 Robert Kudyba via dovecot <dovecot at dovecot.org> wrote:
>>
>>
>> dovecot-2.3.3-1.fc29.x86_64
>>
>> Mar 28 10:04:47 auth: Panic: file http-client-request.c: line 283 (http_client_request_unref): assertion failed:
2019 Mar 28
2
configuring Dovecot with wforced and auth_policy_server_url with https results in assertion failed
dovecot-2.3.3-1.fc29.x86_64
Mar 28 10:04:47 auth: Panic: file http-client-request.c: line 283 (http_client_request_unref): assertion failed: (req->refcount > 0)
Mar 28 10:04:47 auth: Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0xe34fb) [0x7fe76e0834fb] -> /usr/lib64/dovecot/libdovecot.so.0(+0xe3597) [0x7fe76e083597] -> /usr/lib64/dovecot/libdovecot.so.0(+0x51207)
2007 Dec 02
3
ipp2p: Unaligned access in search_all_ed2k on sparc64
Hey guys,
I''ve just built a sparc64 (Ultra/5) based firewall with ipp2p compiled
as a module and I''m constantly getting the following message in my logs:
Kernel unaligned access at TPC[100f8490] search_all_edk+0x20/0x4c
[ipt_ipp2p]
I''m running the following versions:
- Kernel 2.6.22
- ipp2p 0.8.2-r4
- iptables 1.3.8-r1
Any thoughts?
2009 Sep 08
3
SPSS Statistics-R Integration Plug-In
Dear All,
Has anyone tried to use this plug-in? Since I am running R-2.9.1 it will not even let me install it. Further, since I am running Windows I cannot use the R provided R-2.7.0 Linux installation file from the archive (tried to install it through cygwin and it was a mess). Suggestions? Ideas? Has anybody used this plug-in?
Michael
--
Michael Chajewski, M.A.
Department of Psychology
2018 Dec 29
4
Several problems on Solaris10
Hi all,
I've just upgraded my old Solaris 10 update 8 to Solaris 10 update 11 with
the latest patches, but after the reboot with the new update I'm having a
lot of problems with dovecot.
My version is 2.2.13 ( it was the last one, at the time of the first server
setup ).
I have seen that ( it seems ) the new solaris don't honour the
LD_LIBRARY_PATH.
The first error was a
2013 Aug 23
5
Ruby 2.0 Bad file descriptor (Errno::EBADF)
hi. i''ve been trying to upgrade my stack to ruby 2.0 but keep getting this on ubuntu (not on my local os x):
/hello/shared/bundle/ruby/2.0.0/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:746:in `for_fd'': Bad file descriptor (Errno::EBADF)
from /hello/shared/bundle/ruby/2.0.0/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:746:in `block in inherit_listeners!''
from
2009 Sep 13
0
regrex_crawler -- a crawler which uses regular expression to catch data from website
RegexpCrawler is a crawler which uses regular expression to catch data
from website. It is easy to use and less code if you are familiar with
regular expression.
The project site is: http://github.com/flyerhzm/regexp_crawler/tree
I give an example: a script to synchronize your github projects except
fork projects, , please check example/github_projects.rb
require ''rubygems''
2017 May 09
2
ssh not connecting to Active Directory in Fedora 25 workstation, wbinfo -u works; child_read_request: read_data failed: NT_STATUS_CONNECTION_RESET
> On May 9, 2017, at 11:48 AM, Rowland Penny via samba <samba at lists.samba.org> wrote:
>
> On Tue, 9 May 2017 11:34:27 -0400
> Robert Kudyba <rkudyba at fordham.edu> wrote:
>
>
>>> You also only need this in /etc/krb5/conf for Samba:
>>>
>>> [libdefaults]
>>> default_realm = DSDEV.LOCAL
>>> dns_lookup_realm = false
2010 Sep 27
3
streaming response body to client?
So I''d like to stream my response body to the client.
At least under Rails2, it looks like you can pass a Proc to render
:text, to do that.
I am in a Rails2 app right now, but will upgrade to Rails3 sometime in
the next couple months, so don''t want to set myself up for failure.
Anyone know the status of streaming responses in Rails3? Is it
possible? Is there a different API
2009 Aug 10
1
creating selection vector with 2 attributes
Please consider the following:
Puma=c(702, 702, 701, 702, 701, 702, 701, 702 ,702 ,702 ,701 ,702, 702, 701
,701, 702, 701 ,702, 702, 702,701, 702 ,702 ,702 ,701)
PumaNums=c(100 , 200 , 300 , 400 , 500 , 600 , 701 , 702 , 800 , 900 ,1000
,1101, 1102, 1200 ,1301 ,1302 ,1303, 1304, 1305, 1306,
1307 ,1308 ,1309 ,1310 ,1311 ,1312 ,1313)
PumaNames<-c("Northeast",
"NorthCentral",
2013 Aug 06
2
Invalid auth token on production site
I get this error
> Invalid auth token
>
> on my production website (Rails 4) deployed using capistrano and puma.
Just that error on a white screen and nothing else. How do I debug this?
I googled for similar error but all of them are dated and deal with browser
specfic issue with Safari but for me opening the website in any browser
gives this error.
config.secret_key_base has value
2013 Feb 07
5
does unicorn fork like phusion?
Does unicorn work like phusion in that it automatically forks based on
traffic levels?
Or is that what thin does also?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
2005 Sep 18
1
trimmed mean in R seems to round the trimming fraction
subject: trimmed mean in R seems to round the trimming fraction
to r-help at stat.math.ethz.ch.
Consider the following example of 10 numbers. 10% trimmed mean is correct
but you can see that the result is the same for many trimming fractions
till 0.20!
For example 13% trimmed mean should use interpolation of second and
eighth ordered observation. R does not seem to do this.
The correct 13%
2019 Jan 21
3
samba group root:"domain users" not found
getent group ROBINOOD\\'Domain Users'
ROBINOOD\domain users:x:10513:
but if i insert winbind use default domain = yes in my smb.con and i
tent ssh puma(local account) witch relatived password the system waits
without getting the command prompt
Il 21/01/2019 11:07, Rowland Penny via samba ha scritto:
> On Mon, 21 Jan 2019 10:37:32 +0100getent group ROBINOOD\\'Domain Users'
2019 Mar 28
2
configuring Dovecot with wforced and auth_policy_server_url with https results in assertion failed
> Set
>
> ssl_client_ca_file=/path/to/cacert.pem to validate the certificate
Can this be the Lets Encrypt cert that we already have? In other words we have:
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
Can those be used?
> Are you using haproxy or something in front of dovecot?
No. Just Squirrelmail webmail with sendmail.
2004 Mar 24
1
Windows client using UPPERCASEto connect to Samba 3.02a serve
Hi everyone,
I installed Samba 3.02a server on Fedora Core 1 server .
I have NT :( as PDC so Samba check Username/Password on this server and I
add a line in smb.conf to add new users to the Unix. All usernames on the NT
domain ar lowercase and I'm using security=domain
While I can map drive from NT/2000/XP workstation I'm not able to connect or
map from Windows 98 clients.
When I'm