similar to: Controller instance variables falling in and out of scope

Displaying 20 results from an estimated 2000 matches similar to: "Controller instance variables falling in and out of scope"

2006 Jan 11
0
Issues with dynamic finders ruby-1.8.4 / rails-1.0.0
Hi all, I am not certain this is a 1.8.4 related issue, but I think it might be. I''m trying to use dynamic finders for my Category and Post models, such that a request /blog/categories/general would detect the slug and do a find_by_slug() instead of find(params[:id]). My have_slug?() method works fine, and the dynamic finders *were* working fine until I moved it off my local machine
2012 Jan 22
3
Using Mongoid with ActiveRecord
I''m trying to use mongodb and postgresql simultaneously with Rails 3.1. I believe I have everything set up correctly. What I''m interested in knowing is how to get rails to flip-flop back- and-forth between mongoid and activerecord. For example, if I want to generate an ActiveRecord model after using mongoid, rails automatically defaults to the Mongoid gem. > rails g model
2009 Apr 05
1
[cucumber] Nested resource in paths.rb
Hello Rspec Users, I was wondering how you specify a nested resource in cucumber. So for example: Given I have a blogpost titled Question For Nice Rspec Users When I am on the list of comments for Question For Nice Rspec Users Then I should see "Answer" Now, as one might expect, blogpost has_many :comments, so my question is this: How should I write the "when-case" for
2011 Aug 05
5
Variable scope when having node inheritance
Hi I''m having some trouble with the following setup: node ''serverA'' inherits server-defaults { include myApp::install } node ''server-defaults'' inherits default { $sudoenv = ''custom_server'' } node default { $sudoenv = ''default'' include sudoers::config } class sudoers::config { file {
2006 Feb 12
6
Including another helper
I need to include another helper module apart from the normal two (ApplicationHelper and [controllername]Helper). The inclusion needs to be dynamic and based on external parameters (ie what helper that get included differ from request to request). Is it possible? How? /Marcus
2011 Jul 01
3
Timing of banner
A user at a Windows PC uses our SSH client software (Anzio) to access a Linux sshd. User would like the banner from the server to display BEFORE entering a login name. According to the SSH spec, this should be allowed. But the OpenSSH source seems to have specifically prevented this. Is there a good reason for this? Regards, ....Bob Rasmussen, President, Rasmussen Software, Inc.
2002 Jun 06
8
problem joining the domain
We've encountered a problem with getting a newly installed Samba based machine to join the domain. Here's the command line and error response: [root@chain samba]# smbpasswd -j COLUMBIA -r cmc-bkup -U murphyn Password: error creating domain user: NT_STATUS_INVALID_DOMAIN_ROLE Unable to join domain COLUMBIA. [root@chain samba]# Installation is a RedHat 7.2 (from KRUD) box
2002 Aug 19
2
embedded spaces in group names
Hello, Many of our NT domain groups have names that contain embedded spaces, like "Domain Admins". When I attempt to use winbind and assign rights via those groups the granting fails. Group names without embedded spaces, like "Domain_Admins" work fine. In smb.conf I've tested specifying the name as: "DOMAIN+Domain Admin" DOMAIN+Domain\ Admin and
2009 Sep 30
1
Update on protection against slowloris
Hi list! We tested mod_antiloris 0.4 and found it quite efficient, but before putting it in production, we would like to hear some feedback from freebsd users. We are using Apache 2.2.x on Freebsd 6.2 and 7.2. Is anyone using it? Do you have any other way to patch against Slowloris other than putting a proxy in front or using the HTTP accept filter? Thanks for your feedback, Martin
2014 Sep 28
4
how to install NUT on raspberry pi
On 28.09.2014 22:22, flavio wrote: > I follow your tutorial untill this instruction: > > wget "http://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb- > 1.0.18/libusb-1.0.18.tar.bz2? > r=http%3A%2F%2Fwww.libusb.org%2F&ts=1404210716&use_mirror=softlayer-ams" > -O libusb-1.0.18.tar.bz2 > > in my opiniono there are 2 " that are not needed and
2014 Sep 29
0
how to install NUT on raspberry pi
On Sun, Sep 28, 2014 at 4:32 PM, Kristian Rasmussen <kristian_rasmussen at fastmail.co.uk> wrote: > The entire command should be on one continuous line, and the double > quotes need to stay. I probably should have posted this as a pastebin link to retain carriage returns and such. Mailing lists have a way of mangling stuff like this. :-) Try this: http://pastebin.com/2hTBU8XF
2003 Sep 08
2
Computer Appears in Wrong Workgroup
Hello, I'm using Samba 3.0.0rc2-Debian on Debian unstable. At the time being it does everything I want it to except one: I'm in the wrong workgroup. Despite the line workgroup = BETASIG in my smb.conf, I show up in the workgroup "WORKGROUP." There is no mention of "workgroup" or "WORKGROUP" anywhere else in my smb.conf other than this. Would be happy
2012 Mar 02
8
Developers having access to deploy
Hi I''m in the process of looking for a way to have developers deploying on their test systems without intervention of sysadmins, to solve this i''d like to use Puppet (either the OSS version or Enterprise, whichever solves the problem). I can manage to only grant access to certain systems and limit the ability to execute puppetd --test, however, the developers would like to
2012 Nov 12
4
xen EFI boot and vga-passthrough
Hi all I can''t seem to find any information on vga-passthrough when booting through xen.efi, so I assume it should work. But I encounter a problem on a windows 7 HVM that boots fine when dom0 is booted through MBR but fails when dom0 is booted through UEFI. My system is: DQ77KB motherboard with bios version 44 Core i7-3779T with VT-d Intel HD graphics 4000 In the qemu log it
2004 Dec 29
5
zapata.conf not being parsed by *
I am running * 1.0.3 for some reason when I start * is does not appear to be parsing my zapata.conf file. I do not see any errors * just does not seem to know to look for zapata.conf. I am unable to use my FXO card to make calls or receive calls. I have been able to configure SIP to work correctly. Any help would be greatly appreciated, I spent most of last night searching for an answer.
2007 May 29
5
Restricting to a subset of the domain controllers on a site
Had a situation where users could not map drives from Windows XP to Solaris 9 system running Samba-3.0.10 for Active Directory. This system has been running for a couple of years without problems. Now recently, the site administrators have added some new servers to the domain which may have introduced a problem. This krb5.conf file has been modified to hide the site in question. [libdefaults]
2012 Jun 13
1
kern/157863: [geli] kbdmux prevents geli passwords from being entered properly on boot
Hello, Just to let everyone know that this is still an issue. I am trying to install FreeBSD 9.0 amd64 on a Lenovo X121e and I can't get it to accept the geli passphrase during boot. I've confirmed using kern.geom.eli.visible_passphrase=1 that the passphrase is correct, and the same passphrase is accepted when the system is booted up. I've tried disabling kbdmux in
2016 Apr 20
2
Backspace key does not work in a ssh chroot jail
I setup a ssh chroot jail following this[1] guide. It works for my user to login, use ls and use scp which is all I really want. I do have a problem I cannot solve: when connected and navigating the filesystem, the backspace key actually moves the cursor forward and does not delete what I type. I may have found a hint from some googling that readline will read in /etc/inputrc on login but if
2012 Apr 19
5
Xen on EC2 | Debian Squeeze AMD 64
Hello ! I''m trying to run Xen on a EC2 AMI debian-6.0-squeeze-base-x86_64-20110417 (ami-35b68141) Following this how-to http://www.howtoforge.com/paravirtualization-with-xen-4.0-on-debian-squeeze-amd64 After installing the packages, I get : uname -a Linux ip-10-241-22-60 2.6.32-5-xen-amd64 #1 SMP Tue Mar 8 00:01:30 UTC 2011 x86_64 GNU/Linux uname -r 2.6.32-5-xen-amd64 Then I do :
2012 Jun 26
2
Modify $TERM from config
The terminal programs (xterm, gnome-terminal, etc.) in Fedora have all supported 256 colors for quite a while, so there's a proposal for Fedora to switch them to using "xterm-256color" for $TERM. One drawback would be when you SSH to another host that doesn't have an up-to-date terminal database and doesn't recognize "xterm-256color" (but does know