#136 ✓invalid
Alexey Tarasov

Rails models cannot be accessed through components

Reported by Alexey Tarasov | December 5th, 2011 @ 04:08 AM

INFO agi: Adhearsion::VoIP::Asterisk::AGI::Server::RubyServer 0.0.0.0:4573 client:33865 disconnect
ERROR ahn: NameError: wrong constant name #<Adhearsion
DEBUG ahn: /home/korsar/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.10/lib/active_support/inflector/methods.rb:124:in `const_defined?'

/home/korsar/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.10/lib/active_support/inflector/methods.rb:124:in `block in constantize'
/home/korsar/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.10/lib/active_support/inflector/methods.rb:123:in `each'
/home/korsar/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.10/lib/active_support/inflector/methods.rb:123:in `constantize'
/home/korsar/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:183:in `block in const_missing'
/home/korsar/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:181:in `each'
/home/korsar/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:181:in `const_missing'
/home/korsar/RubymineProjects/9590ru/components/owner_call/lib/owner_call.rb:61:in `pack_dial_list'
/home/korsar/RubymineProjects/9590ru/components/owner_call/lib/owner_call.rb:36:in `generate_menu'
/home/korsar/RubymineProjects/9590ru/components/owner_call/lib/owner_call.rb:24:in `block in start'
/home/korsar/RubymineProjects/9590ru/components/owner_call/lib/owner_call.rb:21:in `loop'
/home/korsar/RubymineProjects/9590ru/components/owner_call/lib/owner_call.rb:21:in `start'
/home/korsar/RubymineProjects/9590ru/app/dialplan.rb:9:in `block in load'
/home/korsar/.rvm/gems/ruby-1.9.2-p290/gems/adhearsion-1.2.3/lib/adhearsion/voip/dial_plan.rb:71:in `instance_eval'
/home/korsar/.rvm/gems/ruby-1.9.2-p290/gems/adhearsion-1.2.3/lib/adhearsion/voip/dial_plan.rb:71:in `run'
/home/korsar/.rvm/gems/ruby-1.9.2-p290/gems/adhearsion-1.2.3/lib/adhearsion/voip/dial_plan.rb:132:in `handle'
/home/korsar/.rvm/gems/ruby-1.9.2-p290/gems/adhearsion-1.2.3/lib/adhearsion/voip/dial_plan.rb:108:in `handle'
/home/korsar/.rvm/gems/ruby-1.9.2-p290/gems/adhearsion-1.2.3/lib/adhearsion/voip/asterisk/agi_server.rb:34:in `serve'
/home/korsar/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/gserver.rb:211:in `block (2 levels) in start

env => adhearsion (1.2.3) Rails (3.0.10) Ruby (1.9.2)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Pages