Displaying 2 results from an estimated 2 matches for "show_rules".
2009 Apr 01
6
[Bug 589] New: MARK doesn't work properly with incoming traffic
...scripts I use to change the ip route tables, ip rules and
iptables rules:
-----------------------------------------------------------------
------------------TOS--------------------------------------------
-----------------------------------------------------------------
#!/bin/sh
task=0
intf=0
show_rules=0
args=$#
# Check for arguments
if test $args -eq 0
then
task=usage
elif test $args -eq 1
then
if test $1 = clear
then
task=clear
else
task=usage
fi
elif test $args -eq 2
then
if test $1 = start
then...
2005 Dec 19
8
Single Table Inheritance question
Hello,
I''m having a heck of a time getting Single Table Inheritance to work in my app.
I have the following models and have scaffolded out Person and Contact.
person.rb
class Person < ActiveRecord::Base
has_many :contacts
end
client.rb
class Client < Person
end
contact.rb
class Contact < ActiveRecord::Base
belongs_to :person
end
phone.rb
class Phone < Contact
end
In