similar to: Rails Tutorials

Displaying 20 results from an estimated 400 matches similar to: "Rails Tutorials"

2008 Jul 08
4
Manipulate Data (with regular expressions)
Dear Everyone, I try to automatically manipulate the data of a variable (class = factor) like x 220 220a 221 221b B221 Into two variables (class = numeric) like x y 220 0 220 1 221 0 221 1 221 1 y has to carry the information about the class (number or string) of the former x-Variable. I could do it by hand like x[x == "220a"] <- 220
2005 Jun 29
5
Dual-ISP Masq
I know this is a FAQ and that it''s been discussed much before, I''m just looking for a few key things. I need to setup our gateway so that traffic FROM a range of IPs is sent out, masqueraded, via a new cable connection. I''m running 2.6.9. Am I going to require any of the CONNMARK patches or other patches from http://www.ssi.bg/~ja/#routes? I''m really not sure
2004 Dec 08
9
Kernel/iptables question
As suggested here: http://lists.shorewall.net/pipermail/shorewall-users/2004-October/015097.html I''ve run: adam@shrike:~$ /sbin/iptables -m policy --help iptables v1.2.11 Usage: iptables -[AD] chain rule-specification [options] iptables -[RI] chain rulenum rule-specification [options] iptables -D chain rulenum [options] --snip-- And: adam@shrike:~$ sudo
2005 Feb 03
1
Multiple mailbox on the same SIP extension
I'm wondering if there's a way it will show on the phone when there's a new message. Here's what I'm trying to do : in my extensions.conf when someone call from a PSTN line on my TDM04B card they have a choice. When someone press 1 for sales then I have 3 phones ringing at the same time. Each phone as already there own mailbox because if someone know there extension
2003 Dec 12
3
SIPURA Breaches Contract
Hi list, Well I really didn't want to see things get to this point, but Sherman at Sipura along with their President Jan F. leave me no other choice. SIPURA has been provided a letter from our attorney for Breach of Contract and damages. They have yet to respond. A quick background. 1. Sherman (SIPURA's Director of Marketing), stated that we would do a join press release for the Oct
2005 Feb 03
8
SMB Problem
I''m having a problem where transferring files accross our IPsec gateway to another host on a remote network is failing. I see no packets being rejected in the logs. Attached is a packet trace, showing the problem. In this case, 10.100.0.0/24 is the local network and 10.100.14.0/24 is the remote network. The trace was taken on the local gateway. In the trace, there is a set of TCP
2006 Mar 20
1
Windows services
Hi list, I'm trying to figure out how to install a service under wine? Under windows I just open a dos terminal and type "application -install" to get it appear in the services list (in 2K server). Has anyone a clue on how to achieve this in Wine??? Any help woud be appreciated! Benja
2004 Dec 30
12
Multi-Hop VPN Issue looking for Solutions
I''ve just discovered that I do not have access to the remote gateways for a set of IPsec tunnels to remote networks. This prevents me from changing the routing table on those gateways. I need "roadwarrior" systems connecting to me local network using OpenVPN (tun) to be able to access those systems. Since the remote gateways don''t know about 10.100.1.0/24, where my
2009 Jun 09
2
R command to join data.frames rows with identical keys?
I've got two data.frames and, when certain "keys" match, I would like to add the column values from one data frame to the other data.frame. Below I list the two data.frames, i.e. neighborhoodInfo_df, and schoolZone_df. Based on the "address" key I would like to add the "schoolZone" key to the neighborhoodInfo_df data.frame. By any chance is there an R
2006 Apr 20
7
Rails + postgres case insensitive searches.
Hello all I am wondering how rails handles case sensitivity in databases. If I do a Person.find_all_by_name("tim") in mysql I would expect to get tim, TIm, and Tim. Do I only get tim in postgres? How do other people deal with this? Do you resort to find_by_sql for all your postgres queries to get case insensitive results?
2005 Feb 07
9
Zoning Out
I''m getting my zones confused. Help. I need to have a bunch of systems using OpenVPN to gain an IP in the virtual subnet 10.100.1.0/24, on interface tun0. I will then route whole subnets to those IPs, like 10.100.2.0/24 via 10.100.1.12, etc. I want to have a policy for: - all hosts behind tun0 - all hosts in 10.100.1.0/24 - individual subnets being routed through IPs in
2005 Jan 26
9
Proxy-ARP on Same Segment
I have had to replace an existing setup which has a bunch of IPs Proxy-NAT''ed onto the loc segment. While I do eventually want to move them to their own segment, I have to deal with this for the next few weeks. My problem is that from a loc system I can ping the public IP of a system being proxy-ARP''d but I can''t hit it via HTTP. Nothing is being blocked according
2006 Feb 13
4
Voicemail - direct call
Hi list! How to send a call directly to voicemail recording? When I put this exten => 313,n,VoiceMail,u221 Or this exten => 313,n,VoiceMail,b221 In my dial plan, calling person first hears greeting message (busy or unviable). I would like to avoid greeting message (I would play something with Playback application). Is it possible? -- Tomislav Parcina tparcina#lama.hr
2014 Oct 01
3
gpg can't decrypt message
Hey guys, Having a little gpg issue I was wondering if someone could help me with. A friend of mine sent me an encrypted message. So I searched online and found a a set of keys that correspond with his email address. And imported them. But when I go to decrypt the message, this is what I get: [root at ops:~] #gpg --decrypt roger-message gpg: encrypted with 2048-bit RSA key, ID 9617EA5C,
2005 Jun 24
4
text file output
Hello, I would like to create an ascii text file that looks exactly like the Console output of a split() action. I have tried save, dput, dump, write.foreign and write to no avail. The resulting text files are a jumble of data that I would have to edit heavily in order to use it for my proposed purpose. How can I, short of copying and pasting the contents of the console (which will not work
2004 Feb 24
4
Pam trouble
Hi folks, I can't get dovecot to authenticate properly against ldap/pam. I've been fiddling with it for several days now, to no avail. It keeps crashing with: Child died with signal 11 The system is Solaris9. Enclosed is a trace of dovecot-auth for a connection to pop with correct username and password and my config. Any help is appreciated. Cheers Benjamin
2005 Jan 18
4
DMZ Recommendations
From reading the documentation, I understand that it is recommended to put servers that may be at risk in a DMZ served via proxy-arp. In this case, the local clients that are behind a NAT would have their connections to the DMZ masqueraded, yes? Is there any way around this that would still be considered secure? Just looking for advice. Thanks, A.
2005 Feb 10
7
RoutesKeeper
I just stumped on the following project: http://selab.edu.ms/twiki/bin/view/Networking/RoutesKeeperProject From the page: > Free as in GPL: Yes, it''s very important, we all love Mr. Richard > Stallman • Load balancing: Use unlimited number of internet > connections simultaneously • Fail over: You still get persistent > internet access although some of your connections
2006 Apr 18
7
freeze_gems to upgrade and SVN
Hi all- I just decided to move from my 1.1.0 to 1.1.2. I had previously frozen to 1.1.0 and therefore had all of rails in SVN in my vendor directory. When I finally got rake freeze_gems to work, it blasted (rm -rf) my vendor/rails directory and put a new one in there. This also blasted all my .svn directories. Is there some convenient way to do a freeze upgrade and play well with SVN?
2006 Apr 11
18
Rails 1.1 in Production
My hosting company is still supporting only Rails 1.0. I have installed Rails 1.1.2 to my vendor directory and deployed it in production which should mean that my application should be using the Rails version in my vendor diretory. But It looks like its still using local gem libraries, here is the error from dispatch.fcgi when I try and invoke my app NoMethodError (undefined method