Displaying 20 results from an estimated 10000 matches similar to: "Caching of classes non working or Howto?"
2008 Sep 09
2
MissingSourceFile error
I created a rails application by "rails demo" command and generated a
controller "script/generate controller Say". Then I created a file in
app/view/say/hello.html.erb. I added a method "hello" in
app/controllers/say_controller.rb. From a browser to access the link
"http://localhost:3000/say/hello, I got this error:
MissingSourceFile in SayController#index
no
2005 Dec 22
11
first day using rails
Hi - this is my first day with Ruby on Rails.
I''m starting out by working through the Helloworld (Hello Ruby) example
program printed up in "Agile Web Development with Rails."
My steps are as in the text:
1. ruby script/generate controller Say
2. edit the proper file and add the hello method
3. fire up the browser using address http://localhost:3000
4. fire up the
2007 Sep 10
3
Can't reach a controller :(
When I try to see a controller I get a 404 error, this is what WEBrick
says
What could it be? Thanks for the help ;)
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2007-09-10 13:30:26] INFO WEBrick 1.3.1
[2007-09-10 13:30:26] INFO ruby 1.8.6 (2007-06-07) [i486-linux]
[2007-09-10 13:30:26] INFO
2007 Mar 02
5
ActionController::RoutingError
plz give me the solution to solve the below error
ActionController::RoutingError
ActionController::RoutingError in Issues#new
Showing app/views/issues/_issue.rhtml where line #1 raised:
issue_url failed to generate from {:controller=>"issues",
:action=>"show", :id=>nil}, expected: {:controller=>"issues",
:action=>"show"}, diff:
2009 Mar 17
3
Getting Error
Hello,
I am a rails newbie. I am using ruby 1.8.6, rails 2.3.2 & chrome
browser in windows XP.
I was trying out a hello world application. I ran the following
commands.
-------------------------------------
rails> rails demo
rails> cd demo
demo> ruby script/server
-------------------------------------
And when I open http://localhost:3000/ in my browser, I get a "Welcome
2007 Apr 17
3
Is this a bug?
I have found a strange "ifelse" behaviour (I think)
This works:
> ifelse(T,1+1,1+2)
[1] 2
> ifelse(F,1+1,1+2)
[1] 3
Maybe I missed something about R internals, but why
> ifelse(T,print("hello"),print("goodbye"))
[1] "hello"
[1] "hello"
> ifelse(F,print("hello"),print("goodbye"))
[1] "goodbye"
[1]
2008 Oct 01
2
Bug or feature with finding a list element?
This seems odd. When I try to look up a list element which has a space in
the name using just the first word (i.e. no spaces), it will sometimes
return the element with a space in the name and sometimes it will return
NULL.
Try this:
alist <- list( 'hello'=10, bye=20, 'hello world'=30, 'goodbye world'=40, 'hi
world'=50, 'goodbye foo'=60, 'goodbye
2005 Aug 19
2
FXO not picking up; baffled
I'm a newbie to Asterisk, but I'm moderately knowledgeable about phone
systems. Right now, I'm most certainly confused.
I have a TDM-04B (four FXO) and four analog FXO lines running into it
from an AdTran 616. I have Asterisk working internally, although I could
use some help getting incoming calls to answer properly and configuring
my outbound dialplan.
Here's where I'm
2006 Jun 07
2
Qick Q: Expression in this Controller
I tried putting this inside my controller:
def goodbye
@link = Link_to "goodbye!", :action =>"goodbye"
end
and display it in my views calling the @link variable.
Of course it doesn''t work.
Why?
Thanks
--
Posted via http://www.ruby-forum.com/.
2008 Jul 07
5
Meetme
Hi folks,
we use meetme application with pin so when a customer joins he's
prompted for his name.
Then the voice say:"press one to accept the recording..."
My question is, is it possible to cut off that request to"press one"?
Thanks to all
--
.:FaberK:.
2009 Jul 24
6
dialplan tips
Hi everybody
In advance sorry for my bad english and if my problem was already exposed (I
didn't find any tips in the mailing list archive. Bad luck)
I have some questions about asterisk 1.6 release :
1) how can I do a n+101 priority jumping if a SIP canal is busy ?
I read that the general parameter "priorityjumping" is depreciated in the
1.6 release and I already try the
2006 Apr 04
2
How to apply class from Stylesheet to "link_to" element???
Hi,
This is the "img" class for anchor element inside my stylesheet.
=====================
A.img:link {
color: #ffffff;
text-decoration: none;
}
A.img:visited {
color: #ffffff;
text-decoration: none;
}
======================
I can easily apply this tag inside my html document as follows:-
=======
< a href="goodbye.html" class="img">
=======
Now I want to
2003 Jul 24
2
Voicemail() problems - Long pause after incoming message recording ended.
I'm having the following problem:
I call into my Asterisk box (RedHat Linux 9.0, 1 Digium X100P card)
to access voicemail. After dialing the appropriate extension I get
voicemail, am presented with the user's unavailable message, and can
leave a message normally.
The problem comes when I press "#" to end the recording, at which
point I am told "Your message has been
2007 Jul 17
1
No sound from Festival, but *something* is happening
Hey folks,
So I'm trying to get Festival() working on 1.2.17. I'm trying to use
app_festival:
Here's the show dialplan output from that extension:
'3378' => 1. Answer()
[pbx_config]
2. Festival(Hello Asterisk caller. How is your day?)
[pbx_config]
3. Playback(vm-goodbye)
[pbx_config]
4. Hangup()
2005 Mar 21
2
Ext matching problems
Hello everyone...
I'm trying to get up a testing pbx installation. Following instructions
of what've read from the handbook and from asterisk's wiki, I wrote the
dial plan as follows:
[general]
;
;
static = yes
;[globals]
;
[default]
;
exten => 0,1,Answer()
exten => 0,2,Playback(fcopba1)
exten => 0,3,Hangup()
exten => *0,1,Answer()
exten => *0,2,Record(fcopba1:gsm)
2007 Feb 08
2
Asterisk outbound calling does not wait for answer before playback
Hello Asteriskers, :-)
We're trying to set up an outbound notification calling for system
alerts with Asterisk 1.4.0. We generate a call file in
/var/spool/asterisk/outgoing and the outbound call is originated through
Zap/1 (Sangoma A200D to a Canadian POTS line). The problem is that
Asterisk does not wait for the other side to answer before it starts
playing the message. So the
2005 Sep 14
1
TE110P - Asterisk@Home Install Problems
I am having problems sending and receiving calls over the T1. They never seem to connect - outbound keeps ringing, inbound gets busy. The T1 looks ok - no errors on the line. Any ideas on what is wrong? I have tried a variety of fxsks and fxoks configurations without avail. This is a single asterisk@home system with a single T1 card. Robbed Bit T1 ami, d4.
------------------inbound call
2005 May 28
1
3 goes and your out
Is it possible to give a caller three goes at an extension number then
hangup?
exten => s,1,Zapateller(answer|nocallerid)
exten => s,2,PrivacyManager
exten => s,3,Ringing(1)
exten => s,4,NoOp(${CALLERID})
exten => s,5,SetMusicOnHold(random)
exten => s,6,Background(silence/1)
exten => s,7,Background(thank-you-for-calling)
exten => s,8,Background(silence/1)
exten =>
2007 Apr 17
1
No Incoming Ring Tone (Even with "r" option)
Hello,
I am using an incoming iax provider to bring calls to my server. When
an incoming call comes in, the calling party does not hear a ring
tone. I figured that this was no big deal, and that I just needed to
enable the "r" flag to dial. This has not fixed the situation though.
Just to try to make sure the line was being picked up properly, I
tried the following:
[inbound]
exten
2005 Sep 30
2
SIP make outside call
Hi,
I am can make local extension to and from SIP X-Lite
softphone, but I can't dial out using X-Lite but local
analog works just fine. Here are my conf files any
idea?
Thanks,
David
my sip.conf
[general]
bindport=5060 ; UDP Port to bind to
(SIP standard port is 5060)
bindaddr=0.0.0.0 ; IP address to bind
to (0.0.0.0 binds to all)
allow=all
[3000]