Displaying 16 results from an estimated 16 matches for "denatted".
2008 Feb 24
6
Rails 2.0/Autotest "Color is not a class"
I''ve made a model called Color to manage custom styles for my
application. It works find when I''m running it locally in Mongrel,
and I haven''t tried to deploy it yet.
I use ZenTest and Autotest, and when I run autotest I''m getting the
following message:
"C:/rails/band/trunk/app/models/color.rb:1: Color is not a class
(TypeError)"
My Color model is
2005 Jan 19
11
Confuse, putting packets in wrong mangle table.
Folks,
I am a little bit confuse in how to put these packets into correct mangle
table for traffic shaping.
This is what i ve planned to do:
- - - - :eth0 [ LINUX-BOX ] eth1: - - - -
Let say:
eth0: 220.100.1.1
eth1: 192.168.1.1
eth1:1 192.168.1.2
192.168.1.0/24 get natted into 220.100.1.1 before reaching the internet.
I put every packets coming from internet (eth0) this way:
# iptables -t
2006 Jul 08
3
IFB vs IMQ
Is IFB realy replacement of IMQ
Please Guide
--
Failure seldom stops you. What stops you is the fear of failure.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
2008 Feb 12
8
has_many through question
I have made 3 tables
+------------+ +----------------+ +------------+
|people | |people_campaigns| |campaigns |
+------------+ +----------------+ +------------+
|id :int | <----> |people_id :int | /-> |id :int |
|name :string| |campaign_id :int| <-/ |name :string|
|etc ... | |exported :int |
2006 Nov 06
3
Ingress qdisc bypassed on SNAT''ed traffic?
Hello,
I am using the following iptables POSTROUTING rule to NAT some RFC
1918 addresses:
iptables -t nat -A POSTROUTING -s 192.168.19.23 !
192.168.0.0/255.255.0.0 -p tcp --dport 80 -j SNAT --to-source
10.32.4.2
(I am using SNAT instead of MASQUERADE for performance reasons).
I have several addresses on the 192.168.0.0/16 subnet that I am
SNAT''ing similarly.
Problem is, ''tc
2008 Mar 09
4
comment avoir la liste des gems ?
bonjour ,
je voudrais savoir de quelle façon est ce qu''on peut savoir les gems
installés dans un serveur hebergeur sans avoir acces au SSH ?
pour les informations sur rails ou ruby c''est fait ;)
en utilisant la commande suivante dans une view :
Rails::Info.to_html
mais le probleme ça donne pas de detail sur les gems !!!!
une idée ?
2009 Aug 12
5
Challenge for object_id, Garbage Value
I am facing strange problem.
I have an object @part=MainPart.find(:all)
1. @part.each_with_index do |mainpart,index|
2. <p><%= mainpart.object_id%></p>
3. end
Here problem is that object_id is reserved for rails. Here
object_id field in my table . Now i want to get value <%=
mainpart.object_id%> is giving GARBAGE VALUE. Is there any solution
apart from
2008 Mar 20
4
Blank DateTime versus Nil DateTime
Hi!
These days I have been having trouble with a test that tried to test
DateTime functionality. I have discovered that a NULL DateTime is
auto-type casted to NIL by Rails.
My problem here is that I have a field :datetime and I want to allow
NULL datetimes but not wrong datetimes. With this validation if deadline
is wrong or if is is blank it returns true. How I can accomplish this?
protected
def
2008 Mar 20
5
How to unit test Rails itself (API)?
Hello,
I searched unit test for Rails on internet, but all the results are
for testing Rails APPLICATION generated by Rails.
But I think Rails itself needs unit test, too. I need to make sure
that all APIs/methods of Rails work fine in different scenarios.
I didn''t see any unit test files in the Rails package. Does anyone
know how to unit test Rails itself?
Thanks a lot.
2007 Oct 15
4
ArgumentError in StoreController#add_to_cart: wrong number of arguments (1 for 0)
I am really new to Ruby and Rails but as you probably see I am trying
to get the shopping card working from the book. I am getting this
error but I really don''t know what to do. I have looked up several of
topics that stated the same problem but as far as I am, nothing has
helped me out yet. Is there something wrong with the Product model?
This is in the StoreController and I believe it
2007 Dec 10
15
Scaffolding for pre-existing database table in 2.0.1
Hi,
first of all I will apologize in advance for my presumably noobish
question, but I''m only starting to learn Rails and am a little
confused with all the changes in 2.0.1. There are as good as no
tutorials out yet and the 2 or 3 screencasts I''ve seen deal with the
creation of both the app and the database.
Now my problem is that I already have a database with a fair amount of
2006 Aug 08
4
Info about IFB
Hi, I''m looking for info about IFB devices and how I can use it to
incomming traffic shapping.
Has IFB any web about it?
Do any body known where I can find more info about it?
I found this:
http://linux-net.osdl.org/index.php/IFB
But I can''t stand fine how to use it to allow many ifb''s devices or how
to use it with "tc actions".
Any help?
Thanks
--
2008 May 21
8
before_filter with multiple roles
I have multiple roles in my application.
Now I want to block a method for all users except the administrator and
a manager.
When I do this:
before_filter (:check_administrator_role), :only => [:administration]
before_filter (:check_taskmanager_role), :only => [:administration]
The user must have both roles. How can I change that to an "OR"
combination?
--
Posted via
2005 Jan 24
3
Htb, imq and sfq traffic shaping
Hello,
I wrote a simple traffic shaping script (below) that should have allowed me to shape my internet traffic a bit (ppp0 - adsl 128kbit/64kbit; local interface eth0).
The script works only partially - the speed is being limited but too much. Without running this script my download rate is about 10kBytes (with second computer also downloading at about 6kBytes). After running it my download speed
2006 Jul 30
5
questions about HFSC, VoIP and (dynamic) ingress shaping
Hello,
I just found the great howto and started shaping my internet connection. The
howto''s last update is a liitle in the past now so I have some questions
about how things are done the best way nowadays ;-)
To ensure a stable and low latency voip communication I added an HFSC qdisc to
device ppp0 (1 Mbit SDSL). There are two classes (by now): One for SIP and
RTP and one for the
2010 Jun 14
8
Default Test library
Along the same lines as the default javascript library discussion [1],
why don''t we switch the default test library to RSpec? The stats [2]
posted by Xaviar in the other thread seem to support that RSpec is the
preferred way to test.
[1] http://groups.google.com/group/rubyonrails-core/browse_thread/thread/e9b9cf2233d9a59b
[2] http://survey.hamptoncatlin.com/survey/stats
--
You received