Displaying 12 results from an estimated 12 matches similar to: "Long pause during dialing to IVR"
2006 Feb 02
6
How do I? Same Model, Different Controllers, Different Validations?
Hi all --
The simple question is: How do I set different validations for the same
Model, when accessed in different Controllers?
Here''s the scenario: I have a store/cart app, with a customer-facing
shopping cart, and a typical Admin side. The Admin side also has an
Order Entry component, where our staff can enter orders received by fax,
telephone, etc. Both the customer-facing cart
2006 Jan 20
47
SQL Server datetime error
i have a problem with the datetime format of rails. i am unable to save
a dataset to the db. here''s the error message -- the original error
message was in german, so i translated it -- i get:
DBI::DatabaseError: Execute
OLE error code:80040E07 in Microsoft OLE DB Provider for SQL Server
Couldn''t convert a char-Datatype to datetime
HRESULT error code:0x80020009
2006 Jun 10
1
How to check a date against today
I''m looking for a function which produces the current date
eg. if account.expiry_date < getdate
''getdate'' doesn''t seem to work.
anyone know what does?
--
Posted via http://www.ruby-forum.com/.
2006 Jan 17
1
How to validate expiry date
Hi
How can I do the validation of date expiry (if the date is less
than today) in ruby.Can I do it using the validate method or other def
in the model class?
Thanks in advance,
Sainaba.
--
Posted via http://www.ruby-forum.com/.
2011 May 25
1
rake task: uninitialized constant
I have this rake taks:
CUSTOM_MONTHS = [nil, "GEN", "FEB", "MAR", "APR", "MAG", "GIU", "LUG",
"AGO", "SET", "OTT", "NOV", "DIC"]
def parse_date_string(date_string)
begin
day, month, year = date_string.split("-")
Time.mktime(year, CUSTOM_MONTHS.index(month),
2009 Dec 14
1
meetme with review of the entered conference number
Hi there,
I'm using asterisk meetme function like:
exten => 9070,n,MeetMe(|dcM)
and everything works pretty well. But I would like to add a review of
the entered conference number before the user jumps into the conference.
Somthing like:
*:"Please enter the conference number followed by the hash key" (works)
U: 123456# (works)
*: "You are entering conference number
2007 Jun 21
2
expects with returns that returns the return value of the actual method
I''m trying to test some code that''s using active_merchant using the
following test. What I''d like to be able to do is verify that purchase is
called, however, rather than specifying the return value for purchase with
returns, I''d like it to return the actual return value provided if you
called the non mocked purchase method. Is this possible?
def test_charge
2007 Jun 21
3
only checking certain parameters for a method
I''m writing a test where I only care about one of the parameters being sent
to the method, does anyone think having a way to say that any value for a
parameter which I don''t care about is valid? I''m thinking something like:
def test_charge_is_for_10_bucks
gateway = test_gateway
member = Member.new
member.credit_card_number = "1"
2006 Mar 31
2
Model inheritance is borken in Rails1.1
following is model code in file order_payment.rb
class OrderPayment < ActiveRecord::Base
belongs_to :order
validates_presence_of :amount, :no
end
class LC < OrderPayment
end
class LC30 < LC
end
class LC60 < LC
end
class LC90 < LC
end
class LC120 < LC
end
class TT < OrderPayment
end
class CAD < OrderPayment
end
and following is error i''m getting with
2007 Sep 29
1
(no subject)
Hello
I am anirudh, I need help to write script to fetch detail like ips,
speedlimit from mysql and add htb rules at the starting of the server. it
is for a small isp i am working for.
can any one help me out!, i had tried but fail to limit speed
--
Anirudh Chowdary
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
2008 Dec 05
2
IAX trunk mixing
hi,
i have a problem, and i am completely stuck with it, i hope someone can
point out where is my config wrong.
I have three server, connect together with IAX trunking. The server are
at romania (10.0.4.23, V1.4.22), hungary (10.0.1.23, V1.4.20) and serbia
(10.0.3.4, V1.4.22). I have a hardphone (6251) connected to the romanian
server, i dial a hungarian telephone number, the call goes to the
2006 Mar 06
0
No ring when doing blind transfer.
Hi,
I have an odd problem when doing a blind transfer. The transfer is
intiated and the transferred caller hears nothing until the timeout. I
have tried setting the 'r' and the 'm' variables in the dial command.
Nothing happens when I use the 'r' variable when I use the 'm' variable
I briefly hear music on hold and then it stops until the timeout for no
answer