Displaying 20 results from an estimated 2000 matches similar to: "Creating and managing Rails routes on the fly"
2009 Feb 03
3
ROXML from_xml not returning an object instance...
Hello,
I have two ActiveRecord classes. One is Route the other is Waypoints.
I have constructed an XML representation so I can use AJAX to create a
Route with all waypoints in a single create call to RouteController.
When I call Route.from_xml(xmlString) it is not returning an object -
it''s leaving the object (@route) nil, but not erroring. Any ideas?
Here''s some code:
2006 May 26
1
Not able to make any calls
Hi All,
I have registered "abhijit" for SIP in asterisk Server.
I am able to register my softphone (SJPhone) to the server using the
name "abhijit".
But whenever I try to make any calls I am gettinh the following error
message:-
*CLI>
-- Registered SIP 'abhijit' at 172.20.28.85 port 5060 expires 120
May 26 07:34:52 NOTICE[2761]: pbx.c:1738 pbx_extension_helper:
2006 Dec 29
0
PHP to call script
Using the php script below. I am able to enter my number and the number to
call, however I get the following error:
-- AGI Script cid-spoof.agi completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
-- Executing Wait("OutgoingSpoolFailed",
2009 Oct 31
2
Calls disconnects after short time
Hello,
My client customers complaining that their calls suddenly get hung-up, I am
just investigating if the problem from my side, I had a log of a hang-up
case,
Does it help to know if there is a problem that can be resolved from my
side?
elastix*CLI>
-- Hungup 'IAX2/99999-6813'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on
2007 Dec 16
3
how do I spec my Rails routes?
Once again, here''s something I haven''t figured out. Apologies if this
is too newb-ish, but, how do I spec my routes using RSpec-Rails?
In particular, I''ve got a catch-all route that needs to catch a wide
variety of URLs:
map.document ''*url'', :controller => ''documents'', :action => ''show''
Is there a way to
2008 Jun 28
0
AMI extenstion state
Hi,
I would like to get the status of asterisk extension with my php program.
*My program as follows,*
<html>
<!--<meta http-equiv="refresh" content="1" />-->
<?php
$fp = fsockopen("xxx.xxx.xxx.xxx", 5038, $errno, $errstr, 30);
if (!$fp)
{
echo "$errstr ($errno)<br />\n";
}
else
{
$out = "Action: Login\r\n";
$out
2008 Jan 07
2
Switching screen resolution on the fly
Is there any way other than CTL ALT + and CTL ALT -
to set and or change the resolution of the X server when I want to.
Is there a way to so take me to "1920x1080" mode and then later
take me to "1366x768" mode.
With xvidtune I see the -next and -prev options but I was hoping for
jumping to specific modes. I so realize I can also edit out unwanted modes
in the xorg.conf but
2006 May 11
0
creating variables on the fly with a loop
I''m trying to clean up some of my sloppy code, and one of the things I''m
working on is trying to make this huge group of variables a bit more
elegant.
My variables look like this:
@business_core_courses =
Category.find_by_title(''business_core_courses'').courses
@written_communication =
Category.find_by_title(''written_communication'').courses
2006 May 18
3
Render layout on the fly
Hi guys,
i was wondering if there is any possibility to render a layout on the
fly instead of putting it into the layouts/ folder. Any ideas?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 05
0
file_column create image on fly
hello,
i''ve added version "small" => {:size => "320x240>"} to file_column. But
it doesnt create that size image. How to tell file_column to create
small image if it doesn''t exist?
Thank you
--
Posted via http://www.ruby-forum.com/.
2006 Apr 21
5
input controls on-the-fly ?
i wish to know if there is some way to check user-input directly while
it''s inserted.
for example if i have to insert a number and the user press letters i
just have to hide/delete the letters and wait for numbers.
all without the need to press some submit button or any link..just
automatically.
Thanks
Lepre
--
Posted via http://www.ruby-forum.com/.
2007 Nov 19
1
Changing TBF rate on the fly results in drops?
Hi everybody, it is my first message here. I tried to browse
throughout older posts but I found no immediate answer.
I need to change rate of a tbf queue while ip packets are already
enqueued by it. If I go:
tc qdisc replace|change|link dev eth0 root tbf rate 180kbit burst 1540
limit 15400
as results all enqueued packets seems to disappear. I can see that from a:
tc -s qdisc ls dev eth0
2006 May 22
0
horizontal, multi-level fly-out menu
Hello everyone,
Did anyone of you ever create a horizontal javascript menu useing prototype
(maybe plus scriptaculous).
I am looking for a multilevel flyout menu. I saw that the Yahoo UI Library
offers library controls for menus
http://developer.yahoo.com/yui/menu/ but I would rather like to use
prototype.
TIA,
Alex
_______________________________________________
Rails-spinoffs mailing list
2006 Jan 20
2
Creating thumbnail on the fly
I was doing some research about creating thumbnail images on the fly
after an image has been uploaded in a form, but for some reason it''s not
working for me. I''ve downloaded ImageMagick 6.2.5 for Mac but when I run
a test (identify image.gif) it gives me this error:
dyld: Library not loaded: /sw/lib/libjpeg.62.dylib
Referenced from: /Developer/ImageMagick-6.2.5/bin/identify
2007 Nov 29
1
Discussion on da-prompt-on-the-fly-forms
looks ok, but for me, the design could be improved :)
For these kind of stuff I use Control.Modal: http://livepipe.net/projects/control_modal/
It doesn''t do automatic "prompt" forms, just modal boxes with whatever
you want to add it. Maybe you could use it as the basis of your
library.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you
2006 Nov 22
1
On the fly transcoding from FLAC to a Vorbis stream
I'd like to store all of my music in FLAC form; however, I would also
like to stream the library as Vorbis.
Is there a tool to do on the fly stream encoding to Vorbis from FLAC?
Basically, I'm looking for something that is almost like a DJ
application that lets you pull in the FLAC files, do whatever DSP
algorithms you need, and then code them into Vorbis and shove them out a
stream.
2013 Feb 13
1
Changing QoS on-the-fly
Hi all,
it's possible to change/add the QoS settings for a running domain?
I edited the domain definition with virsh but it seems to have no effect until I shut down the domain.
libvirt version 0.9.13
kvm-qemu version 1.2.0
Best,
Davide.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5930 bytes
Desc:
2007 May 22
0
Generate fields onthe fly for task manager
Hello,
I''m trying to create a task manager , for accounting firm, they have a
series of regular tasks they need to be able to control , research old
records,etc... The problem is that all of these tasks have a common
set of fields ,the problem is that some of them have some specific
fiels (most of them just text fields). Has anyone developed a similar
system and/or can give some hints on
2004 Sep 25
0
Fly in the sky and feel the fresh air up
n`'o
-----Original Message-----
From: devon lock [mailto:syslinux at zytor.com]
To: deon delacuesta; gaston crossman; emil berlo; isaac miramon
Sent: Tuesday, August, 2004 5:50 PM
Subject: Fly in the sky and feel the fresh air up
Though I love m,y wi-fe but smoking also my meat and dri.n,k.That time I
just don't kn^^ow how to choose while facing failure after trying lots of
Smoking
2014 Jan 15
2
How to update filterref of a vm on the fly?
Hello,
I defined a vm with filterref like:
<filterref filter='clean-traffic'>
<parameter name='IP' value='192.168.1.161'/>
</filterref>
and now I need to add another IP parameter for this vm,is there any way to
achieve this?
thanks.