Displaying 20 results from an estimated 4000 matches similar to: "Session variable data validation"
2007 May 29
5
Trouble defining a stub method for a controller
Hello,
Not sure if I am doing something really wrong (let''s not say
stupid for now), but I haven''t been able to stub a controller method
like:
controller.stub!(:logged_in?).and_return(true)
Please help, this is driving me nuts ;-)
--
An?bal Rojas
http://www.rubycorner.com
http://www.hasmanydevelopers.com
2019 Apr 22
2
Samba Won't Start after Upgrade to 4.8.3-4 on Centos 7.5.1804
I've been Googling, but have not come up with anything. It worked before the update, bit now samba won't start. I see the following in the logs.
-- Unit smb.service has begun starting up.
Apr 22 18:51:47 001cognos01.ccnva.local systemd[1]: smb.service start operation timed out. Terminating.
Apr 22 18:53:18 001cognos01.ccnva.local systemd[1]: smb.service stop-final-sigterm timed out.
2004 Dec 20
1
Interest in commercial support for R, R-metrics and related packages
I am a partner at Assembla, a software services group that helps companies
make use of open source techniques and software. We have been asked by a
company in the financial services sector to provide support for their use of
R, Rmetrics and possibly SciViews.
I am trying to locate other companies in the financial services industry
that might be interested in commercial support for R, Rmetrics
2007 Jun 05
6
Help with spec controller
Hello,
I haven''t been able to create a controller spec.
You can see the code here:
http://pastie.caboo.se/67980
The error message I''m getting is:
Spec::Mocks::MockExpectationError in ''PersonController should tell the Person
model to create a new person on POST to create''
Mock ''person'' received unexpected message :save with (no args)
2017 Sep 22
13
[Bug 1185] New: counter flag proposal for sets and maps
https://bugzilla.netfilter.org/show_bug.cgi?id=1185
Bug ID: 1185
Summary: counter flag proposal for sets and maps
Product: nftables
Version: unspecified
Hardware: x86_64
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: nft
Assignee: pablo at netfilter.org
2020 Apr 08
5
[Bug 1417] New: mapping to adjacent ranges is causing error in kernel 5.6, kernel 5.5 works fine
https://bugzilla.netfilter.org/show_bug.cgi?id=1417
Bug ID: 1417
Summary: mapping to adjacent ranges is causing error in kernel
5.6, kernel 5.5 works fine
Product: nftables
Version: unspecified
Hardware: x86_64
OS: All
Status: NEW
Severity: critical
Priority: P5
2006 May 23
2
CSS not applied using apache
Hi all,
I have recently configured rails to run under apache. I''ve tried adding
a stylesheet using the stylesheet_link_tag function, however when I load
the page I do not see the affects of the stylesheet. The URL to the
stylesheet looks correct when viewing the page''s source. Has anyone
else seen this problem?
Thanks for your help,
Chris
--
Posted via
2017 Mar 08
13
[Bug 1127] New: running nft command creates lag for forwarded packets
https://bugzilla.netfilter.org/show_bug.cgi?id=1127
Bug ID: 1127
Summary: running nft command creates lag for forwarded packets
Product: nftables
Version: unspecified
Hardware: x86_64
OS: Gentoo
Status: NEW
Severity: major
Priority: P5
Component: nft
Assignee: pablo at
2019 Nov 12
6
[Bug 1382] New: nftables.py cmd leaking memory when ruleset contain mapping ip length to range with high limit 65535
https://bugzilla.netfilter.org/show_bug.cgi?id=1382
Bug ID: 1382
Summary: nftables.py cmd leaking memory when ruleset contain
mapping ip length to range with high limit 65535
Product: nftables
Version: unspecified
Hardware: x86_64
OS: Gentoo
Status: NEW
Severity: major
2017 Sep 21
11
[Bug 1184] New: disable implicit concatenating of elements of sets with flag interval
https://bugzilla.netfilter.org/show_bug.cgi?id=1184
Bug ID: 1184
Summary: disable implicit concatenating of elements of sets
with flag interval
Product: nftables
Version: unspecified
Hardware: x86_64
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component:
2019 Dec 04
4
[Bug 1386] New: nftables.py cmd doesn't read updated counter values after first read
https://bugzilla.netfilter.org/show_bug.cgi?id=1386
Bug ID: 1386
Summary: nftables.py cmd doesn't read updated counter values
after first read
Product: nftables
Version: unspecified
Hardware: x86_64
OS: Gentoo
Status: NEW
Severity: major
Priority: P5
Component:
2006 Jun 29
6
Naming Convention for Controllers?
Hello!
I just read DHH''s presentation pdf.
In his examples, he wrote PeopleController instead of PersonController.
I''ve been using singular words in controller''s name.
Which is more common?
Thanks.
Sam
--
Posted via http://www.ruby-forum.com/.
2006 Mar 30
2
acts_as_ordered plugin
Hey all,
I''ve just put together a little plugin to easily access the neighbours of a
given model in a particular order. Read on if interested.
Install:
script/plugin install
http://svn.viney.net.nz/things/rails/plugins/acts_as_ordered
Usage:
class Person < ActiveRecord::Base
acts_as_ordered :order => ''first_name''
end
Say you have people with first
2020 Feb 28
3
[Bug 1411] New: add elements with counter to dynamic sets with
https://bugzilla.netfilter.org/show_bug.cgi?id=1411
Bug ID: 1411
Summary: add elements with counter to dynamic sets with
Product: nftables
Version: unspecified
Hardware: x86_64
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: nft
Assignee: pablo at
2016 Oct 13
1
[Bug 1091] New: named set with flag interval: delete multiple items in one command bug
https://bugzilla.netfilter.org/show_bug.cgi?id=1091
Bug ID: 1091
Summary: named set with flag interval: delete multiple items in
one command bug
Product: nftables
Version: unspecified
Hardware: x86_64
OS: Gentoo
Status: NEW
Severity: major
Priority: P5
Component:
2017 Oct 17
3
[Bug 1190] New: adding element to map with stateful object and flag interval raise SIGSEGV
https://bugzilla.netfilter.org/show_bug.cgi?id=1190
Bug ID: 1190
Summary: adding element to map with stateful object and flag
interval raise SIGSEGV
Product: nftables
Version: unspecified
Hardware: x86_64
OS: All
Status: NEW
Severity: normal
Priority: P5
Component:
2006 Jul 25
4
Knowing when a user is logged in
I am looking into creating a website similar to a chat program. I know
when the user logs in. However, the user can log out any of the
following ways:
Logout link - This one is easy to handle
User closer browser window
User hits the back button
User loses his/her internt connection.
Is there a way within rails to handle the latter three user actions?
Thanks!
--
Posted via
2012 Jun 26
1
Can create files from share but only delete as root
Fellow List Members:
After upgrading our server to RHEL 6 from RHEL 5, I discovered that our
linux clients could create files on the share but not delete them unless
they first switch to root (su -).
This is very odd to me since the share in question is mounted with the
non-root user's credentials. The fstab entry is as follows:
//192.168.1.2/officefiles /mnt/officefiles cifs
2006 Aug 16
1
update entry in a has_many relation
Hello all,
I want to upate a entry in a one to many relation, but is doesn''t work.
I can add or delete a specific entry, but I can''t update it.
Can anyone help me?
Here is the code:
class Person < ActiveRecord::Base
has_many :materials
end
class Material < ActiveRecord::Base
belongs_to: person
end
class PersonController < ApplicationController
def update
2015 Mar 13
2
Can't create any KVM template due to the error with libguestfs
Hi,
I'm using SolusVM control panel to create KVM VPS. Suddenly, I can't make
any template on Host-Node. Their build log says the SolusVM can't read the
libguestfs in server.
Please check here.
/scripts/kvmtemplate --mode=prescan --vmid=kvm124 --generation=2
"libguestfs: error: guestfs_launch failed.
See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
and/or run