Hi,
it was just a typing error, when I retype the code,
Maj or not, it doesn’t work…
Saiho
— Ezra Z. [email protected] wrote:
class genBD < ActiveRecords::base
end
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/activerecord-1.12.2/
lib/active_record/base.rb:942:in
method_missing' #{RAILS_ROOT}/app/models/gen_table_as.rb:18:in
getConnection’
#{RAILS_ROOT}/app/controllers/gentest_controller.rb:15:in
`index’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/activerecord-1.12.2/
lib/active_record/base.rb:942:in
`method_missing’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/base.rb:834:in
`perform_action_without_filters’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/filters.rb:295:in
`perform_action_without_benchmark’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/benchmarking.rb:69:in
`perform_action_without_rescue’
#{RAILS_ROOT}usr/local/lib/ruby/1.8/benchmark.rb:293:in
`measure’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/benchmarking.rb:69:in
`perform_action_without_rescue’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/rescue.rb:82:in
`perform_action’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/base.rb:365:in
`process_without_session_management_support’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/session_management.rb:116:in
`process’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/
dispatcher.rb:36:in
`dispatch’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/
webrick_server.rb:117:in
`handle_dispatch’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/
webrick_server.rb:83:in
`service’
#{RAILS_ROOT}usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in
`service’
#{RAILS_ROOT}usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in
`run’
#{RAILS_ROOT}usr/local/lib/ruby/1.8/webrick/server.rb:173:in
`start_thread’
#{RAILS_ROOT}usr/local/lib/ruby/1.8/webrick/server.rb:162:in
`start_thread’
#{RAILS_ROOT}usr/local/lib/ruby/1.8/webrick/server.rb:95:in
`start’
#{RAILS_ROOT}usr/local/lib/ruby/1.8/webrick/server.rb:92:in
`start’
#{RAILS_ROOT}usr/local/lib/ruby/1.8/webrick/server.rb:23:in
`start’
#{RAILS_ROOT}usr/local/lib/ruby/1.8/webrick/server.rb:82:in
`start’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/
webrick_server.rb:69:in
`dispatch’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/
commands/server.rb:59
#{RAILS_ROOT}usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:21:in
`require’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.2/
lib/active_support/dependencies.rb:213:in
`require’
#{RAILS_ROOT}cript/server:5
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/activerecord-1.12.2/
lib/active_record/base.rb:942:in
method_missing' #{RAILS_ROOT}/app/models/gen_table_as.rb:18:in
getConnection’
#{RAILS_ROOT}/app/controllers/gentest_controller.rb:15:in
`index’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/base.rb:834:in
`perform_action_without_filters’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/filters.rb:295:in
`perform_action_without_benchmark’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/benchmarking.rb:69:in
`perform_action_without_rescue’
#{RAILS_ROOT}usr/local/lib/ruby/1.8/benchmark.rb:293:in
`measure’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/benchmarking.rb:69:in
`perform_action_without_rescue’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/rescue.rb:82:in
`perform_action’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/base.rb:365:in
`process_without_session_management_support’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/session_management.rb:116:in
`process’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/
dispatcher.rb:36:in
`dispatch’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/
webrick_server.rb:117:in
`handle_dispatch’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/
webrick_server.rb:83:in
`service’
#{RAILS_ROOT}usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in
`service’
#{RAILS_ROOT}usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in
`run’
#{RAILS_ROOT}usr/local/lib/ruby/1.8/webrick/server.rb:173:in
`start_thread’
#{RAILS_ROOT}usr/local/lib/ruby/1.8/webrick/server.rb:162:in
`start_thread’
#{RAILS_ROOT}usr/local/lib/ruby/1.8/webrick/server.rb:95:in
`start’
#{RAILS_ROOT}usr/local/lib/ruby/1.8/webrick/server.rb:92:in
`start’
#{RAILS_ROOT}usr/local/lib/ruby/1.8/webrick/server.rb:23:in
`start’
#{RAILS_ROOT}usr/local/lib/ruby/1.8/webrick/server.rb:82:in
`start’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/
webrick_server.rb:69:in
`dispatch’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/
commands/server.rb:59
#{RAILS_ROOT}usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:21:in
`require’
#{RAILS_ROOT}usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.2/
dsl.yahoo.com
WebMaster
Yahoo! for Good - Make a difference this year.
http://brand.yahoo.com/cybergivingweek2005/