Displaying 20 results from an estimated 1000 matches similar to: "Contextually aware controllers"
2009 Jun 11
4
Using view helpers and route helpers in a model
Hi there,
I am trying to get something working and its driving me crazy. I have
been looking around for solutions to getting view helpers working in
models and for the most part I find this solution.
Add the following in the model you want to use them in
include ActionView::Helpers::UrlHelper
include ActionController::UrlWriter
However, when I try something like
2011 Mar 02
0
polymorphic_path not getting generated
Folks,
I am trying to use the Savage Beast plugin in a polymorphic way. I
have setup my model as below
# Leaving out other details from models
class Forum < ActiveRecord::Base
has_one :recent_topic, :class_name => ''Topic'', :order => ''sticky
desc, replied_at desc''
belongs_to :forum_owner, :polymorphic => true # Helps keep track
of which
2002 Aug 13
0
Rsync 2.5.5 hangs for no apparent reason
Thanks in advance for taking the time to read this email.
I'm using rsync to make a copy of my Netbackup Catalogs
to an offsite server for DRP. I have narrowed the problem
down to a few sub-directories that contains 16 directories
each and in each directory there are about 37 files. None
of the files are larger than 300MB. In fact, most of them
are around 1K-5MB. The problem is, rsync
2010 Nov 10
1
Inserting Missing Data
Greetings
I'm attempting to insert missing data on the smallest size class of
cave cricket instars into a data frame. The data involve censusing
photoplots (plots) of roosting cave crickets in which we discern in four
instars or size classes. I need to insert data on size class one into a
data frame that already has data on size classes two through four. The
data can be merged by their
1998 Jun 30
1
Patched Qpopper2.5 release Notification. (fwd)
Hi,
well, swift response!
Qualcomm has a patched qpopper (2.5)
Greetings,
Jan-Philip Velders
<jpv@jvelders.tn.tudelft.nl>
---------- Forwarded message ----------
Date: Mon, 29 Jun 1998 21:43:18 -0700
From: Praveen Yaramada <pyaramad@QUALCOMM.COM>
To: BUGTRAQ@NETSPACE.ORG
Subject: Patched Qpopper2.5 release Notification.
Hello Folks,
As you are already aware that qpopper
1996 Nov 14
0
setgid binaries
Hi,
I''ve been thinking about group membership and the corresponding (weak)
restrictions to system resources. Consider the following:
% cat > gsh.c
main()
{
system("/bin/sh");
}
% cc -o gsh gsh.c
% id
uid=100(joe) gid=500(users) groups=14(floppy),15(sound)
% chgrp sound gsh
% chmod g+s gsh
% mail abuser
Subject: You owe me $5...
2007 Jul 06
1
Edge, link_to and mocks
Hi All,
Anyone noticed that using the newer link_to syntax in edge currently
fails with mocked objects in view specs or helpers.
eg. if you have something like the following in your view (or
equivalent in a helper):
<%= link_to @dog.name, @dog %>
as opposed to the current 1.2 syntax:
<%= link_to @dog.name, dog_path(@dog) %>
Using a mock_model as the ''dog''
1998 Aug 02
0
ipportfw - security
Hi
Are there any known security holes or necessary precautions in using port
forwarding with ipportfw?
I'm planning on forwarding ports from an outer firewall/router (connected
to the Internet) to a host in the DMZ, then on from the DMZ host to the
inner firewall, and finally from the inner firewall to some host on the
inside.
Thanks,
Jens
jph@strengur.is
From mail@mail.redhat.com Wed
1996 Nov 14
1
Security hole in Debian 1.1 dosemu package
In Debian 1.1, the optional DOSEMU package installs /usr/sbin/dos
setuid root. This is a serious security hole which can be exploited
to gain access to any file on the system.
Package: dosemu
Version: 0.64.0.2-9
------- start of cut text --------------
$ cat /etc/debian_version
1.1
$ id
uid=xxxx(quinlan) gid=xxxx(quinlan) groups=xxxx(quinlan),20(dialout),24(cdrom)
[quinlan:~]$ ls -al
1998 Dec 03
2
interactions between OPIE-ftpd and RH5.2
Ran into a weird problem, and this seemed a good forum to toss it out into
-- if I've gaffed, please let me know.
Just upgraded my RH5.0 box to RH5.2. Went well, worked nearly seamlessly.
When running 5.0, though, I'd installed the opie-fied ftpd that comes with
the most recent opie package (ftp://ftp.inner.net/pub/opie/opie-2.32.tar.gz)
and had it work without a hitch. I'd also
1999 May 07
3
php3 module and security
Hi,
When php3 module is compiled in apache, files in any directory will
be interpreted by the parser and executed. This is a security breach.
There is a way to correct this? Any comments?
Thanks,
lacj
---
<levy@null.net>
Levy Carneiro Jr.
Linux & Network Admin
From mail@mail.redhat.com Sat May 8 02:32:02 1999
Received: (qmail 28372 invoked from network); 8 May 1999 07:05:57
2010 Oct 22
2
Confusing error statement
Greetings
Using the following command I've been trying to subset a dataframe of
counts of an organism to compute the sizes of groups for use as a
predictor:
Hs.patches <- as.data.frame(with(Hs.long,
table(Cave,Year,Month,Region,Plot,)))
I am getting the following error message that I do not understand:
ERROR: argument is missing, with no default
Can anyone shed light on this
1999 Dec 01
0
Security Patches for Slackware 7.0 Available (fwd)
---------- Forwarded message ----------
Date: Tue, 30 Nov 1999 12:14:09 -0800 (PST)
From: David Cantrell <david@slackware.com>
To: slackware-security@slackware.com
Subject: Security Patches for Slackware 7.0 Available
There are several security updates available for Slackware 7.0. We will
always post bug fixes and security fixes to the /patches subdirectory on
the ftp site:
1997 Jan 16
0
/bin/login
>Their is a buffer overrun in /bin/login which has the potential to
>allow any user of your system to gain root access. util-linux-2.5-29
>contains a fix for this and is available for Red Hat Linux 4.0 on
>all four platforms. We strongly recommend that all of Red Hat 4.0
>usres apply this fix.
Does this bug affect the ''login'' that is distributed
with shadow
2010 May 02
2
Calculation error
Dear Rxperts,
Running the following code:
=======================================================
twlo=10; twhi=20; wt=154; vd=0.5; cl=0.046; tau=6; t=3; F=1;
wtkg <- wt/2.2 # convert lbs to kg
vd.pt <- wtkg * vd # compute weight-based vd (L)
cl.pt <- wtkg * cl # compute CL (L/hr)
k <- cl.pt/vd.pt # compute k (hr^-1)
cave <-
2011 Jan 18
2
substituting level for NA in factor column
Greetings
I have a bunch of NAs in a column of categorical variables designating
the size classes (e.g., smallest to largest: 1,2,3,4) of cave crickets.
I'd like to substitute "U" (for unknown) for the NAs. Can anyone give me
an idea how to do this? Thanks in advance.
Cheers
Kurt
***************************************************************
Kurt Lewis Helf, Ph.D.
Ecologist
2012 Feb 13
0
Singling out observations
Greetings
I am attempting to plot observations of a cave aquatic invertebrate
dating from 1901-2004. I can come up with a nice lattice plot of the eight
sites from which I have data easily enough. However, I'd like to be able
to highlight the 0 observations on the plots, i.e., attempts to find it at
the site were unsuccessful. I'd like to be able to highlight these
observations
1999 Dec 22
0
Apply dimnames (PR#385)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---559023410-1251336619-945861747=:5357
Content-Type: TEXT/PLAIN; charset=US-ASCII
While fiddling with apply I noticed that there appears to be an error in
the dimnames, which actually
1996 Nov 21
2
Re: BOUNCE: Re: Chattr +i and securelevel
Alexander O. Yuriev wrote:
>
> Your message dated: Wed, 20 Nov 1996 18:04:39 EST
> > >has anyone played with the securelevel variable in the kernel and the
> > >immutable flags in the ext2 file system?
> >
> > Yes, and its actualy quite nice.
> >
> > >The sysctrl code seems to allow the setting of the flag
> > >only by init (PID=1)
2010 Sep 11
10
Having difficulty with threaded comments, using acts_as_tree
I''ve been having problems making threaded comments for the last few
days. Mainly with creating children and displaying the children.
Currently, I have comments shown at the bottom of my articles show view.
The top level comments work, but I do not really know how to implement a
way for users to "reply" to the top level comments and take them to a
form (the comment