Displaying 20 results from an estimated 300 matches similar to: "Variables visible in all actions in a controller"
2008 Dec 05
9
Bar Chart in Rails
Hi Everyone,
Can anyone tell me how to draw a bar chart in Rails? Is there any
in-built method in Ruby on Rails (or) should i go for 3rd party plugins?
I searched and came across this "open flash chart" - i don''t know how to
customize it according to my requirement.
PS: I have attached my requirement sample for you reference.
Thanks,
Vasanth
Attachments:
2006 May 10
4
using partials in a for loop
I''m trying to write a partial for a link_to_remote that i''m using over
and over again, but simply moving the code to a partial doesn''t seem to
work.
Here is how I have it set up:
class_planner.rhtml:
<% for course in @courses %>
<%= render :partial => "class_list" %>
<% end %>
_class_list.rhtml:
<li>
<%= link_to_remote
2008 Sep 23
1
Dynamic Select Box
I have two select boxes and I update the content of second box on the basis
of selection made on first with AJAX. I was wondering if any one can point
to related tutorial.
--
Thanks,
Jaikishan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2008 Oct 24
2
HTML Forms
Hello,
I have a form with two buttons - [1] Create [2] Cancel. By default if a user
clicks on any of them, the form gets submitted. However, I dont want to do
that. I want to call a javascript function on cancel and form submit (as
usual) on create. How can this be achieved?
--
Thanks,
Jaikishan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2005 Oct 17
2
OCFS for RHAS4 download
Greetings,
I read from archive that OCFS is for kernel 2.6. which means RHAS4.0 is
supported. However, I can't find the download for this version. Is the
support official and where can I download it.
Thanks / regards,
Ivan Wong
Database Administrator
e2Open Inc. (www.e2open.com)
Suite 34.03, Level 34,
Menara Citibank,
156, Jalan Ampang,
50450 Kuala Lumpur, Malaysia
DID: +603 2776 6397
2009 Dec 10
2
Packing multiple frames in a RTP packet
Hello,
*Background:*
The RFC 5574 suggests the RTP payload format for the speex codec. The
payload formation is straight forward; the encoded frames are to be
concatenated one after another. Once we have appended desired number of
frames, we have to pad the stream with 01111 sort of sequence to ensure that
payload ends on a octet boundary.
*Observation:*
I am using the speex encoder at 2150 Kbps
2005 Feb 18
1
Asterisk Performance in comparission of SER
How much can be the load (How much register and calls Asterisk can Handle simultaneously by asterisk) and what will be the performance of Asterisk (Call Quality) if all the users are on SIP only and uses same Codec, I have all three codecs loaded G.711, G.723, G.729) without media support i.e. ("canreinvite=yes"),
Thanks & Regards
Ritesh Jalan
-------------- next part
2005 Dec 16
3
Server crashed with Common/ocfsgencreate.c, Common/ocfsgenvote.c
Hi Experts,
We have a 4nodes RAC running and recently one is down due to hardware
(fibre optics card) failure. Since running on 3-nodes RAC, the surviving
server just keep crashing. We cannot figure out why is this happening
but checking /var/log/messages we have these error (notice the msg
before crashing at 8:32):
Dec 12 08:30:45 x335-142 kernel: (2) ERROR: file entry name did not
match inode,
2005 Jun 07
4
I want to move the MySQL server out to another machine
I tried to add the databases from the localhost to the database server
and changed the every /etc/asterisk/*.conf from host=localhost to
host=192.168.10.10
(my dababase server)
When I restart asterisk, I do not get any errors, but after a phone call
I see:
Jun 7 18:11:56 ERROR[7877]: cdr_addon_mysql.c:400 my_load_module:
Failed to connect to mysql database cdr on 192.168.10.10
Or if I try
2009 Dec 10
1
Packing multiple frames in a RTP packet
Hello Jean-Marc
We really appreciate your input.
If I understand it right, we should be calling the encoder on the same
SpeexBits structure passing it a frame at a time to encode for as many times
as the number of frames that we want to pack in the RTP payload.
The output then obtained from from the encoder will have the necessary
padding at the end without any separators between individual
2005 Jul 01
1
no voice
Hi All
We are unable to hear any voice where as in tcpdum it shows that RTP is flowing both ways
ERROR CONDITION
---------------
-- Executing Dial("SIP/2001-f6c4", "SIP/2000|20") in new stack
-- Called 2000
-- SIP/2000-0ead is ringing
-- SIP/2000-0ead answered SIP/2001-f6c4
-- Attempting native bridge of SIP/2001-f6c4 and SIP/2000-0ead
Have searched web and
2003 Nov 28
2
Maildir Sub folder was not fetch as start
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello all,
I'm new to dovecot and have been using sinces Fedora Core 1 release.
My setup is as below.
Server : dovecot Imap Maildir (was from courier-imap) (v 0.99.10 from
fedora)
Client : Mozilla mail 1.5 (rpm from www.mozilla.org with some additional
patch to work with fedora)
The Problem is like this.
When the Maildir is in this format
2006 Jul 27
3
Ocfs-users Digest, Vol 37, Issue 2
Ivan,
I found the same thing after doing an upgrade a couple of months ago and
mailed this list. Never got a response.
We had to fdisk the shared disks and remount them and restore db from
backup.
Chris Taylor
Sr. Oracle DBA
Unique Solutions
www.unisolinc.com
Office: 336-667-2447 xt. 2242
Cell: 336-262-5545
-----Original Message-----
From: ocfs-users-request at oss.oracle.com
2004 Dec 02
2
threeway calling
any idea on how we can setup threeway calling in *
thanks
moe smadi
2005 Feb 27
2
CDR's are not stored in mysql
Hi guys,
I would llike to ask for your help on a problem I'm having with the cdr
functionality. I installed asterisk 1.0.4, and asterisk-addons-1.0.4 and
followed the procedures for installation and mysql configuration. Everything
seems fina. The cdr_mysql module is loaded, and I get no error messages. But the
cdr's are not going to the mysql database, they are going to a csv file in
2006 Oct 03
2
Change log path problem
Hello,
I changed the log path in shorewall.conf, LOGFILE=/var/log/messages to LOGFILE=/var/log/shorewall, and then I touched the shorewall file in /var/log, permission root:root 600, after shorewall restart, no logging messages appear in /var/log/shorewall. so how can I fix this problem ?
Thanks !!
_______________________________________
YM - 離線訊息
2004 Mar 26
4
multicolumn sort on dataframe?
I couldn't find any reference to this in the FAQ, but is it possible to sort
a dataframe by multiple columns?
I've created some code, similar to the following:
nspr.code <- sp.results$sp.code[order( sp.results$sp.code )]
nspr.tpa <- sp.results$tpa[order( sp.results$sp.code )]
nspr.code <- as.character( levels( nspr.code ) )[nspr.code]
nspr.tpa <- as.numeric( levels( nspr.tpa
2004 Aug 13
11
asterisk in india
Does anyone know if the E1 cards that digium sells work in India. Also are
there any distributers for those cards in India. By E1 cards I mean E100P,
TE410P or TE405P
--
regards
Vikram (http://www.vicramresearch.com)
2004 May 14
2
Scalable IVR
Hi,
I am an asterisk newbie and looking around for information . I wish someone
could take their valuable time off to answer my query in detail.
I wish to set up an IVR system that can allow user authentication and
therefter accept 2-3 inputs from users ..generate a key and transmit the
same in voice back to the user .
The system will intially have small load but if the whole package in future
2006 Mar 06
0
Multiple actions for one route (making pretty URLs hit different actions)
Hi all,
I''m trying to make pretty URLs using routes for some of my actions
across different controllers. For example:
http://www.example.com/london ->
http://www.example.com/articles/show_by_name/london
But if the id ''about'' couldn''t be found, then to search for it as
another action, this time from the ''branch'' controller.