similar to: ActionController::DoubleRenderError

Displaying 20 results from an estimated 100 matches similar to: "ActionController::DoubleRenderError"

2003 Jul 08
1
Lattice graphs: lines, symbols and strips
Dear collegue, I have some questions about lattice graphs: 1. How can I introduce different lines in different graphs, from the same page? For example, in the upper row of graphs, I would like to have a line at 0.5, in the middle one at 0.3, and in the lower at 0.1. I am using panel.abline, but I can only make it appear in all the graphs, not in some of tham only... 2. Is it possible that the
2006 Dec 19
0
Looking for a way to avoid DoubleRenderError.
The "update" action of my controllers and under certain circumstances creates a xml file on the filesystem. Using an after_filter that only gets called after the update action I create the XML file. Problem is, I get a DoubleRenderError because the update action either calls redirect_to or render. I can get around the render call by calling performed?() but the call to redirect_to
2006 Apr 08
2
respond_to causes DoubleRenderError?
I have a custom authentication plugin that redirects users to a login site if they aren''t already authenticated and their session hasn''t timed out. I had things working fine with straight http requests, but wanted to add support for ajax requests. I thought this would be a simple matter of replacing all of my "redirect_to <blah> and return false" calls with
2005 Jul 06
6
DoubleRenderError exception
The DoubleRenderError exception recently introduced is forcing me to go back and rewrite my apps authentication handler. Before I could do a redirect right in the middle of a request. Whatever was happening after that went unnoticed, I assumed it was simply ending the request after the redirect was called, but apparently it was going on and rendering the page. Why can''t a redirect
2006 Jun 19
6
to_xml depth ...
hello, The "render :xml => myFriends.to_xml", return something like: <people> <person> <id type="integer">2</id> ... <person> But a Person has a "has_many" relationship and they are not in the xml, => so is it possible to change the depth of the marshall process ? if it not possible, what are the "rails
2002 Dec 16
1
ldap users would like to change their own (smb)passwords
Dear Samba list, I am using samba with ldap. All works fine. Now I want my users to change their own smbpasswd's. That only works when : domain admin groups = myusers and secrets.tdb is set to 660 beside this smb.conf must at least be readable by the myusers_group. Otherwise I get this : /usr/local/samba-2.2.7/bin/smbpasswd -L -a bert Failed to open
2017 Feb 21
3
Setting Win ACLs via Comp Managment, connection to Member Server warning
I have given the SeDiskOperatorPrivilege on the domain member but it did not help. The connection warning persists when I click on the "Shared Folders" + shared. It says to check network path, firewall rules. dismissing the window takes me to the domain member and shared folder can be selected and viewed. An attempt to modify and pressing "apply" results in another warning that
2006 Feb 13
5
Acts_as_taggable pluralize
I am implementing a messaging system, which requires broadcast to group feature. Instead of a relatively clunky habtm group structure, I am using tags. Form a usability standpoint, it would be helpful to avoid redundant tags. Like, friend vs friends OR client vs. clients. Is it practical to filter tags, before entry, to avoid duplicate tags like plural vs. singular? -- Posted via
2004 May 07
3
Contribution to 3.8.1pl1
Hello, I added the support for netgroups to be used in the AllowUsers and DenyUsers parameters. This has some advantages: * hostnames or ip addresses need not to be written or maintained in the sshd_config file, but can be kept abstract names what also simplifies a bit largescale openssh installations * sshd_config needs not change and sshd be restarted when changing the list of allowed /
2007 Sep 20
0
OpenSSH 4.7p1 - support the use of netgroups in AllowUsers and DenyUsers configuration options
Hello, I have attached a small patch that enables OpenSSH 4.7p1 to use netgroups for users and hosts entries in the AllowUsers and DenyUsers configuration options in sshd_config. This has the following advantages: * hostnames or ip addresses don't have to be maintained in sshd_config, but you can use meaningful names for groups of users and groups of hosts. * large scale installations can
2013 Jan 11
4
Does rsync need a --ignore-unreadable-files option?
I work on software that archives gigabytes of files to multiple sites. Occasionally one or two files have no read permissions: % ls -l dir/foo --w-------+ 1 abcserve myusers 11222 Jan 10 03:14 The error message is: rsync: send_files failed to open "/dir/foo" (in xxx): Permission denied (13) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at
2004 Jan 27
1
Group mapping bugs + PATCH
Hi all ! I've been using group mapping for a few weeks and found some bugs... For three of them, I tried to develop a small patch. I don't know Samba code very well and this is my first patch, so there could be errors :-p I hope my investigations will be useful :) * Platform : Here is what I used : Debian 3.0r1, Samba 3.0.2rc1 - PDC, OpenLDAP 2.1.23 as backend smb.conf extract :
2015 Dec 01
2
Problems with authentication in Samba4
Hi, I'm having problems to authenticate users with winbind. I'm implementing Squid3 Server and this server is working properly. But I think there is a problem with winbind (perhaps winbind separator), because when I put ^ as separator, how in Domain^Users, the error message appeared: root at proxy:~# *echo "bacci Domain^Users" | /usr/lib/squid3/wbinfo_group.pl
2016 Feb 16
3
Password changes and syncing passwords with Linux accounts
On 16/02/16 08:38, Rowland penny wrote: > You are not going to like this, but I am going to say it anyway: > > *Remove* any users that are in AD from /etc/passwd (the same goes for > groups) > > All your users & groups should now only exist in AD, you do not need > or can have, users & groups in AD *and* /etc/passwd & /etc/group. > > Your users will only have
2010 Aug 11
0
strange permission problem with sharing over NFS
I found strange issue. Let say I have zfs filesystem export/test1, which is shared over NFSv3 then I zfs create export/test1/test2 chown myuser /export/test1/test2 ls -l /export/test1/test2 (it will output that myusers is owner). But if I do ls -l on NFS client where /export/test1 is mounted, I will see that root is still owner. The only one way to fix it is to unmount /export/test1/test2 then
2017 Feb 21
2
Setting Win ACLs via Comp Managment, connection to Member Server warning
Hi, I try to follow the instructions (https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs#File_System_ACLs_in_the_Back_End) A big screen pops up with when an attempt is made to connect to member server, then connection is granted but I am suspitious if changes can be made. SeDiskOperatorPrivilege on ADDC is granted to BUILTIN\Administrators and Domain Admins But the Member
2023 May 11
1
Upgrade Samba AD from 4.3 to 4.7 - ID mapping failure
Well, it seems `smbcontrol` wasn't reloading properly. After adding the `gidNumber` to domain users and fully restarting Samba, all started working again. On Thu, 2023-05-11 at 17:59 -0400, Ben Curtis via samba wrote: > Hi all, > I am trying to upgrade my Samba 4.3 AD to a Samba 4.7 AD, and am > havingsome problems with ID mapping. > My smb.conf file has been updated as per the
2007 Nov 30
5
render_to_string in an after filter
I''m using render_to_string in an after_filter, which renders a partial that is sent to a web service. Here''s the code: class MyController < ApplicationController after_filter :post_to_webservice def show # show logic end def post_to_webservice stuff = render_to_string :partial => ''stuff'' webservice_post(stuff) end I get a DoubleRenderError in the
2006 Feb 13
1
Change redirect after method ''redirect_to''
I want to be able to change the redirection url after I called redirect_to, is that possible? My specific use case is that I want to change the default redirection of "Login Engine" method signup, but I am seeing no other way then copy/past and change the parameters of redirect_to. This questions extends to render method as well, I want is to avoid DoubleRenderError exception. --
2006 Dec 30
1
redirect_to(:action => ''foo'') and return
I''m not sure why this is happening, but if I do this in a controller unless @variation && @variation.quantity > 0 flash[:error] = "Sorry, that product is currently not available." redirect_to(:action => ''error'') and return end rspec tells me 2) ActionController::DoubleRenderError in ''The Carts controller with an