similar to: trivial questions about rails edge

Displaying 20 results from an estimated 1000 matches similar to: "trivial questions about rails edge"

2005 Apr 15
2
Newbie question
Hola! I''m trying to follow the User Manual''s example on how to run ttylinux on xen and failing. # xm create ttylinux-xen.cf -c Using config file "ttylinux-xen.cf". Started domain ttylinux, console on port 9604 ************ REMOTE CONSOLE: CTRL-] TO QUIT ******** Linux version 2.6.11-xenU (horape@elanor.compendium.net.ar) (gcc version 3.3.5 (Debian 1:3.3.5-3)) #1 Thu
2004 Aug 02
1
help with digium E1 card
Hola! I've a Digium E1 card, zaptel recognizes it as (loading the module with debug=1) Setting up DMA (write/read = 321b2000/321b2200) Controller version: 43 Framer: DS21554, Revision: 5 (E1) Found a Wildcard: Digium Wildcard E100P E1/PRA Using CCS/HDB3 coding/framing with CRC4 120 Ohms Calling startup (flags is 4099) Started DMA Got interrupt: 0x0005 /etc/zaptel.conf:
2001 Jan 02
0
Why add ListenAddress to sshd_conf
?Hola! [Please keep me in the Cc: list, i amn't subscribed to the list] (From ftp://ftp.plig.org/pub/OpenBSD/OpenSSH/portable/openssh-2.2.0p1-vs-openbsd.diff.gz) --- ssh-openbsd-2000090200/sshd_config Tue Aug 8 16:55:05 2000 +++ openssh-2.2.0p1/sshd_config Wed Aug 30 09:40:09 2000 @@ -2,7 +2,7 @@ Port 22 #Protocol 2,1 -#ListenAddress 0.0.0.0 +ListenAddress 0.0.0.0 #ListenAddress ::
2004 Aug 06
3
E1 monochannel :-(
Hola! I'm using asterisk as H.323 -> PRI gateway. First call goes thru ok, second concurrent call fails with: Aug 6 11:52:30 DEBUG[737292]: chan_h323.c:1038 setup_incoming_call: Sending to context [ip2pri] -- Executing Dial("H323/ip$192.168.32.25:60271/984", "Zap/1/9541163107100") in new stack Aug 6 11:52:30 NOTICE[753677]: app_dial.c:554 dial_exec: Unable to
2003 Apr 13
1
torisa rev b
?Hola! torisa.c (from zaptel 0.50) says: #define MASTERVAL 0x41 /* Enable E1 master clock on Rev. B board */ Does that mean that there is a torisa revB? If so, are the schematics downloadable from somewhere? (www.zapatatelephony.org only has Rev. A ones) Does the Rev. A support E1? (just changing the DS2151 for DS2153, the DS crystal and closing the E1 jumpers, or something else is
2003 Apr 21
0
torisa: trying to understand the design
?Hola! I'm trying to understand the torisa design and i'm mistified by the upper part of the third page (generation of ALE and DWR from MEMWR and CS2..5) Can somebody explain me how the magic there works? Why can't just do ALE = ~(CS3 | CS5) and DWR = MEMWR ? (DS app note 326/452, "DS2141A, DS2143, DS2151, DS2153 Interfacing to a Nonmultiplexed Bus", at
2006 Jun 24
6
Ajax fade effect
I have a list of categories, when I delete one of them, I want that item to fade and then get removed. So I do the following: 1. home_controller: def delete @category = Category.find_by_name(params[:name]) @element_id = @category.name Category.delete_all(["name = ?", @category.name]) end 2. delete.rjs: if @element_id page.visual_effect :fade, @element_id
2004 Sep 22
8
Digium Hardware
Hi, Has anybody had any problems getting digium hardware lately? Regards Greg Cirino ___________________________________ Cirelle Enterprises Inc. 603-425-2221 www.cirelle.com Website Design www.cirelle.net ProSpeed High Speed Dial-up - 5 Times Faster www.cedata.com Web, FTP, Email Hosting Services www.mlsbot.com MLS IDX Services When You Want It Done Well, Just Call Cirelle It's not just a
2006 Aug 16
5
Rails theory question, where to put a join query
The is something I wrestle with a bit when I construct joined queries.. Perhaps some experienced insight will straighten this out for me. Say you have two tables with two models, ''authors'' and ''posts''. an author has_many posts, a post has_one author. You need methods to do the following queries: find_author(postid) find_posts(authorid) And you are doing a
2006 Jun 23
2
Foreign key - relations
Hello, I''ve got DB like this: (roughly) create table projects ( id int auto blabla, name varchar(200), user_id int, sales_id int); create table users ( id int auto.., name varchar(50)); So project.user_id has a foreign key to user.id - all is good. Everything works fine. Now my question.. How can set a relationship from two different fields to the users table ?? Fx.
2006 Aug 14
3
Rails on Linux with a MS SQL Database
So, does anyone know much about getting rails (on Linux) to talk to mssql? There is a mssql driver, but it only works in Windows. A site said that using ODBC might be an option, but I didn''t see a specific ODBC driver for rails mentioned. The nix machine runs php and it can connect to the mssql db just fine, I don''t recall if it was using ODBC or free TDS though. I hoped
2006 Jun 26
5
using application_helper.rb
I have a simple Yes/No selection list that I am using in a number of places. Thinking that I could DRY things out a bit, I added it to application_helper.rb ... YES_NO = [ [ "Yes", true ], [ "No", false ] ].freeze So I figured I would use it there instead of in each model.rb where needed. anyway, in webrick screen, I am continually seeing this...
2010 Nov 25
4
Incoming calls through SS7 for data modem transmissions - possible??
Hello, We are working on implementing a solution for a medium service provider. They were previously using a Cisco AS5300 gateway with some PRI trunks to receive modem calls, then route them out the Internet. The Telco they were buying the trunks to discovered this configuration and restricted them due to legal conventions, and stated that in order to continue doing this, they would have to talk
2004 Aug 04
4
Problems with E100P
Hi, I'm having trouble configuring and E1 link , I know the E1 is a PRI and the switchtype is 5ess. The problem is that everytime I try to dial I got and error saying that it was unable to open the zap channel . Devices are created in the /dev/zap directory and I can open them with a cat /dev/zap/1. I can also see the channels in /proc/zaptel/1. Thanks in advance [zaptel.conf]
2008 Jun 17
1
problem when changing default sqlite to mysql
hi all, i installed rails 2.1.0 just now before i was working with rails 1.2.6. when i try to check the application enviroment link in the index page of the application it gave me " MissingSourceFile in Rails/infoController#properties no such file to load -- sqlite3RAILS_ROOT: D:/RadRails/Workspace/Varsha " here i am using win XP, no sqlite installed. i have
2009 Mar 17
1
VAD speex 1.2rc1
My data is speech sampled as pcm mono 32khz. I want to use vad for regulating the agc gain mechanism. So... if voice is not detected I just reduce the agc value in order to not amplify the 'silence' otherwise we just increase the agc value if it is below the minimum. Thanks, Daniel ----- Original Message ----- De: Jean-Marc Valin <jean-marc.valin at usherbrooke.ca> Para: danflu at
2011 Oct 06
0
Rake Routes Blank on upgrade to Rails 3
I have just upgraded an app to rails 3 following the railscast screencast. I have installed a blank application inside the app to be upgraded with: rails new . I have replaced all the the main files. When I run rake routes I get no output. routes.rb: App::Application.routes.draw do resources :products end (ie, just the default file with an example uncommented) I have tried a number of
2006 Jul 28
2
newb question...
This is what it says when i have this stupid error... app/controllers/info_controller.rb:9: syntax error this is what is inside of info_controller, class InfoController < ApplicationController def who_bought @product = Product.find(params[:id]) @orders = @product.orders respond_to do |accepts| accepts.html accepts.xml end end if someone could please help me... -/ James --
2009 Mar 11
1
frame_size parameter
Hi Jean, Thank you for your reply. Ok... I'm gonna use 'samples per channel' everywhere I see 'samples'... but what about the 'speex_echo_playback' function ? it does the following loop: ... for (i=0;i<st->frame_size;i++) st->play_buf[st->play_buf_pos+i] = play[i]; ... So... if frame size is 'samples per channel' it will copy only half the
2005 Oct 29
3
CentOS proviiding additional services > was Setting up Tomcat
This thread (... Tomcat ...) emphasizes the essential conundrom of CentOS whose mission is to provide a community-based, well-maintained and freely distributable version of the stable enterprise software from the Well Known North American VENDOR (WKNAV). There is a essential gap betweenthe community (I want lots of current packages) and the WKNAV base (you get what I choose to provide). As CentOS