Displaying 17 results from an estimated 17 matches for "send_action".
2013 May 11
1
AMI Originate issue
...man = Asterisk::AMI->new(PeerAddr => '127.0.0.1', PeerPort =>
'5038', Username => 'faheem', Secret => 'secret');
die "Unable to connect to asterisk" unless
($astman);
my $resp_code = $astman->send_action({Action =>
'Originate',
Channel =>
'Local/11223344',
Context => 'users',
Exten => 100,...
2006 Apr 11
0
Problem using generate/scaffold and FireRuby
...mand
> s.rb:1
> 06:in `render_template_part''
>
> c:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/rails_generator/command
> s.rb:2
> 84:in `complex_template''
>
> c:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/rails_generator/manifes
> t.rb:4
> 7:in `send_actions''
>
> c:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/rails_generator/manifes
> t.rb:4
> 6:in `send_actions''
>
> c:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/rails_generator/manifes
> t.rb:3
> 1:in `replay''
>
> c:/ruby/lib/ruby/gems/1....
2006 Apr 03
18
newbie generate scaffold
Hi Guys
First time on the list and pretty new to the rails way of doing
things, yup I know sorry.. another newbie!
anyway, apologies out of the way, this is the problem I am having...
I have purchased the "Agile Development with Rails" book and have
just started running through the ''Depot'' demo application.
I have got to page 57...
I have my project files all
2010 Dec 10
0
Encoding issues when uploading files
...c characters in both
"desc" field and the name of the file I''m uploading
Error:
incompatible character encodings: UTF-8 and ASCII-8BIT
Full trace:
app/controllers/index_controller.rb:6:in `upload''
actionpack (3.0.0) lib/action_controller/metal/implicit_render.rb:4:in
`send_action''
actionpack (3.0.0) lib/abstract_controller/base.rb:150:in
`process_action''
actionpack (3.0.0) lib/action_controller/metal/rendering.rb:11:in
`process_action''
actionpack (3.0.0) lib/abstract_controller/callbacks.rb:18:in `block
in process_action''
activesupport (3...
2012 Sep 18
2
undefined method `to_sym' for nil:NilClass
...tive_record_state!''
activerecord (3.2.2) lib/active_record/transactions.rb:240:in `save''
app/models/user.rb:69:in `authenticate''
app/controllers/authenticate_controller.rb:9:in `authenticate''
actionpack (3.2.2) lib/action_controller/metal/implicit_render.rb:4:in
`send_action''
actionpack (3.2.2) lib/action_controller/metal/implicit_render.rb:4:in
`send_action''
actionpack (3.2.2) lib/abstract_controller/base.rb:167:in
`process_action''
actionpack (3.2.2) lib/action_controller/metal/rendering.rb:10:in
`process_action''
actionpack (3.2.2)...
2010 Aug 18
6
undefined method `eq' for nil:NilClass
I''m walking through an example in the "Head First Rails" book, but,
instead doing the examples using Rails3.0.0.rc.
But, I''m getting this error when browsing for example:
http://localhost:3000/advs/1
undefined method `eq'' for nil:NilClass
Provided that my advs_controller.rb is as follows:
http://pastie.org/private/cd9zntg2ite57ept288kfa
Any ideas why
2006 Apr 04
6
connecting to mysql on OS X 10.4
i have looked in the archives, i have the _agile_ book, and its links
right in front of me, and i have done pretty much everything i can
think to do except start from a fresh OS install, and yet i still can
not get Rails to talk to MySQL.
when i try to do this:
237:/Library/WebServer/Documents/Rails/depot chris$ ruby script/
generate scaffold Product Admin
i get this output:
2018 Jan 16
3
remote Asterisk console
Hello group,
what is the preferred method to connect to asterisk cli over network? I
need to run asterisk cli commands remotely.
Sharing the unix socket through NFS, if that's working?
Or any other approaches, despite using SSH or rlogin, rsh.
Thank you
Paul
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
.../gems/mail-2.4.4/lib/mail/message.rb:229:in `deliver''
app/controllers/access_code_controller.rb:102:in `save_code_request''
app/controllers/access_code_controller.rb:22:in `send_email''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal/implicit_render.rb:4:in
`send_action''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/abstract_controller/base.rb:167:in
`process_action''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal/rendering.rb:10:in
`process_action''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/abstract_controller/callbacks.rb:18:in
`block...
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
.../gems/mail-2.4.4/lib/mail/message.rb:229:in `deliver''
app/controllers/access_code_controller.rb:102:in `save_code_request''
app/controllers/access_code_controller.rb:22:in `send_email''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal/implicit_render.rb:4:in
`send_action''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/abstract_controller/base.rb:167:in
`process_action''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal/rendering.rb:10:in
`process_action''
[GEM_ROOT]/gems/actionpack-3.2.3/lib/abstract_controller/callbacks.rb:18:in
`block...
2013 Feb 10
0
Nested attributes doesnt get updated
...al/mime_responds.rb:269:in `retrieve_response_from_mimes''
actionpack (3.1.3) lib/action_controller/metal/mime_responds.rb:194:in `respond_to''
app/controllers/a_w_requests_controller.rb:106:in `update''
actionpack (3.1.3) lib/action_controller/metal/implicit_render.rb:4:in `send_action''
actionpack (3.1.3) lib/abstract_controller/base.rb:167:in `process_action''
actionpack (3.1.3) lib/action_controller/metal/rendering.rb:10:in `process_action''
actionpack (3.1.3) lib/abstract_controller/callbacks.rb:18:in `block in process_action''
activesupport (3...
2010 Jul 27
13
3.0.0rc ActionController::RoutingError No route matches
Have been developing on 3.0.0beta4 and just updated to 3.0.0.rc.
When I try to link_to() a User object that previously had worked, I
get the following:
ActionView::Template::Error (No route matches
{:action=>"destroy", :controller=>"games", :id=>#<User ..... >
Yet I have in my routes.rb file has resources :users and my "rake
routes" shows:
2013 Mar 24
5
Rails 4.0 has_many_through and fields_for
...iew_runtime''
actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:40:in `render''
actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:10:in `default_render''
actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:5:in `send_action''
actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action''
actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action''
actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action''...
2012 Jan 18
3
Cannot redirect to nil!
I need some help please..
when I created web application about books market, i create a cart and
using test the message error appear like this on rake test:functionals
LineItemsControllerTest
> test_should_create_line_item
> ERROR
> Cannot redirect to nil!
and also appear on web side, thats error told that "Cannot redirect to nil!"
Then i was checking the code,
2012 Apr 19
1
active admin undefined method `' for nil:NilClass
...quot;=>"1",
"crew_id"=>"1",
"quantity"=>"1"},
"commit"=>"Create Package crew"}
stack error
app/admin/package_crews.rb:35:in `create''
actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in
`send_action''
actionpack (3.2.1) lib/abstract_controller/base.rb:167:in
`process_action''
actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in
`process_action''
actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in
process_action''
activesupport (3...
2012 Sep 04
2
How to get contact list from yahoo in rails using OAuth
I can successfully get the contacts from google using OAuth gem in rails.
my gmail configuration is :
:google=>{
:key=>"***",
:secret=>"***",
:expose => true,
:scope=>"https://www.google.com/m8/feeds/"
}
now i want to get contact from yahoo and hot mail. How to get that contact
I have given following configuration in my
2011 Dec 05
9
jquery - word is not defined
Just starting out with a beginner book on jquery and the very first thing I am trying fails (has to be me)
Rails 3.1 - other jquery things working including a poor example of drag & drop that is my ultimate target here but just simply trying to get every alternating row in a table to have a different css class
So I''m using...
app/assets/javascripts/people.js.coffee and put in...