Displaying 20 results from an estimated 500 matches similar to: "Foreign key - relations"
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
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 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
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:
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 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
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]
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
2007 May 02
2
delay in switching between contexts
Hi,
I am facing this issue, where I get a delay of aroud five seconds when
switching between contexts (through extension.conf) . This is how my
extensions looks like.
[salesivr]
exten => _X.,1,NoOp(Incoming call from user ${EXTEN} and caller id
${CALLERID})
exten => _X.,2,Playback(emptyy)
exten => _X.,3,Background(Main_Sales)
exten => _X.,4,WaitExten(2)
exten => _X.,5,Goto(_X.,3)
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
2005 Oct 23
1
question about technieque do with large computation
The green book tells:"The basic technique is classic :keep it simple ."A long ,complicated expression or function is less fravorable than" a relatively small computations that combines calls to a few other functions to perform its tasks."
But I don't get the point totally.Can anyone give me an example to make me understand this rules totally?
ps:
Is it mean that f1 is
2006 May 09
1
Beginner questions on attributes and arrays
Hello,
I am trying to do something and I''ve been reading my Agile Web
Development with Rails book and doing internet searches for several
hours now and I have made no progress.
Here''s the issue: I have a table of sales reps that is linked to a
table of territories. There are around a thousand territories that are
numbered and each sales reps has many territories. I will
2011 May 09
1
Gluster text file configuration information?
Where can I find documentation about manual configuration of Gluster
peers/volumes? All documentation seems to be about the gluster CLI. I
would prefer manual configuration to facilitate automation via scripts
(e.g. Puppet/Chef).
I also read in this list that it is possible to configure Raid10 via
text files... I would also like to experiment with this setup. Any
related documents on how to do
2006 Jun 22
5
Sliding Gallery
I have a little image gallery application in rails enough for small galleries
(20< photos). But as images increase and the user needs to scroll down the
page it starts getting anoying to see all pictures...
I thought pagination but then I saw this AJAX goodness
http://www.apple.com/getamac/ads/
As you can see the videos scroll right/left when the arrows are pressed in a
circular manner
2012 Jul 23
2
Samba 4 on Production
We're involved in a project that the requirements could be satisfied
with both samba3 and 4. Anyway I am testing what can be done with
Samba4 and after following the tutorial published in the official
wiki, I was able to create my test domain, and join WinXP and Win7
machines to it without a problem.
I still need to test the GPO functionality, and some other stuff, but
before continuing with
2006 May 24
3
delete image through plugin file_column ?
how can i delete image through plugin file_column?
--
Posted via http://www.ruby-forum.com/.
2006 May 10
5
[Fwd: tailing error]
-------------- next part --------------
An embedded message was scrubbed...
From: =?iso-8859-1?Q?Pe=F1a=2C_Botp?= <botp at delmonte-phil.com>
Subject: tailing error
Date: Tue, 9 May 2006 11:21:03 +0800
Size: 1852
Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20060509/45783cb1/attachment.eml
2016 Dec 29
5
Conversión de datos a fechas
Buenas, esta pregunta es un poco elemental, pero estoy haciendo mis
primeras experiencias en R.
Yo tengo un CSV con el siguiente formato...
fecha;Gastos;media móvil;Holt Winter
31/08/02;2498,5;;2498,5
29/09/02;2250,93;2320,63;2424,229
31/10/02;2212,46;2097,87;2360,6983
30/11/02;1830,22;2092,78;2201,55481
,,,,,,,
los guardo en un dataframe con gastos=read.csv2("indice_gastos.csv"),