Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActiveSessionConnection Error? #19

Closed
mbhnyc opened this issue Apr 13, 2013 · 2 comments
Closed

ActiveSessionConnection Error? #19

mbhnyc opened this issue Apr 13, 2013 · 2 comments

Comments

@mbhnyc
Copy link

mbhnyc commented Apr 13, 2013

Hey guys-

Trying to get this set up — i'm using Rails Admin to support an API, so there's no Devise installed etc, and i use basic auth to prevent access to the admin tool.

Attempting to open the importer gives the following:

Completed 500 Internal Server Error in 407ms

NameError - uninitialized constant ActiveSessionConnection:
  (gem) activesupport-3.2.13/lib/active_support/inflector/methods.rb:230:in `block in constantize'
  (gem) activesupport-3.2.13/lib/active_support/inflector/methods.rb:229:in `each'
  (gem) activesupport-3.2.13/lib/active_support/inflector/methods.rb:229:in `constantize'
  (gem) activesupport-3.2.13/lib/active_support/core_ext/string/inflections.rb:54:in `constantize'
  /Users/xx/.rvm/gems/ruby-2.0.0-p0/bundler/gems/rails_admin_import-90f967a3700f/app/views/rails_admin/main/import.html.erb:94:in `block (2 levels) in ___sers_xx__rvm_gems_ruby_______p__bundler_gems_rails_admin_import___f___a____f_app_views_rails_admin_main_import_html_erb__4268958966205294772_70336714390280'
  /Users/xx/.rvm/gems/ruby-2.0.0-p0/bundler/gems/rails_admin_import-90f967a3700f/app/views/rails_admin/main/import.html.erb:90:in `each'
  /Users/xx/.rvm/gems/ruby-2.0.0-p0/bundler/gems/rails_admin_import-90f967a3700f/app/views/rails_admin/main/import.html.erb:90:in `block in ___sers_xx__rvm_gems_ruby_______p__bundler_gems_rails_admin_import___f___a____f_app_views_rails_admin_main_import_html_erb__4268958966205294772_70336714390280'
  (gem) actionpack-3.2.13/lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
  (gem) actionpack-3.2.13/lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
  (gem) haml-4.0.1/lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
  (gem) actionpack-3.2.13/lib/action_view/helpers/capture_helper.rb:40:in `capture'
  (gem) haml-4.0.1/lib/haml/helpers/action_view_mods.rb:59:in `capture_with_haml'
  (gem) actionpack-3.2.13/lib/action_view/helpers/form_tag_helper.rb:663:in `form_tag_in_block'
  (gem) actionpack-3.2.13/lib/action_view/helpers/form_tag_helper.rb:70:in `form_tag'
  (gem) haml-4.0.1/lib/haml/helpers/action_view_mods.rb:132:in `form_tag_with_haml'
  (gem) haml-4.0.1/lib/haml/helpers/action_view_xss_mods.rb:18:in `form_tag_with_haml_xss'
  /Users/xx/.rvm/gems/ruby-2.0.0-p0/bundler/gems/rails_admin_import-90f967a3700f/app/views/rails_admin/main/import.html.erb:78:in `___sers_xx__rvm_gems_ruby_______p__bundler_gems_rails_admin_import___f___a____f_app_views_rails_admin_main_import_html_erb__4268958966205294772_70336714390280'
  (gem) actionpack-3.2.13/lib/action_view/template.rb:145:in `block in render'
  (gem) activesupport-3.2.13/lib/active_support/notifications.rb:123:in `block in instrument'
  (gem) activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  (gem) activesupport-3.2.13/lib/active_support/notifications.rb:123:in `instrument'
  (gem) actionpack-3.2.13/lib/action_view/template.rb:143:in `render'
  (gem) actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
  (gem) actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
  (gem) activesupport-3.2.13/lib/active_support/notifications.rb:123:in `block in instrument'
  (gem) activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  (gem) activesupport-3.2.13/lib/active_support/notifications.rb:123:in `instrument'
  (gem) actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
  (gem) actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
  (gem) actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
  (gem) actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:45:in `render_template'
  (gem) actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:18:in `render'
  (gem) actionpack-3.2.13/lib/action_view/renderer/renderer.rb:36:in `render_template'
  (gem) actionpack-3.2.13/lib/action_view/renderer/renderer.rb:17:in `render'
  (gem) actionpack-3.2.13/lib/abstract_controller/rendering.rb:110:in `_render_template'
  (gem) actionpack-3.2.13/lib/action_controller/metal/streaming.rb:225:in `_render_template'
  (gem) actionpack-3.2.13/lib/abstract_controller/rendering.rb:103:in `render_to_body'
  (gem) actionpack-3.2.13/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
  (gem) actionpack-3.2.13/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
  (gem) actionpack-3.2.13/lib/abstract_controller/rendering.rb:88:in `render'
  (gem) actionpack-3.2.13/lib/action_controller/metal/rendering.rb:16:in `render'
  (gem) actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
  (gem) activesupport-3.2.13/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
  /Users/xx/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
  (gem) activesupport-3.2.13/lib/active_support/core_ext/benchmark.rb:5:in `ms'
  (gem) actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
  (gem) actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
  (gem) activerecord-3.2.13/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
  (gem) actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:39:in `render'
  (gem) remotipart-1.0.5/lib/remotipart/render_overrides.rb:14:in `render_with_remotipart'
  /Users/xx/.rvm/gems/ruby-2.0.0-p0/bundler/gems/rails_admin_import-90f967a3700f/lib/rails_admin_import.rb:47:in `block (2 levels) in <class:Import>'
  (eval):8:in `instance_eval'
  (eval):8:in `import'

Anyone seen this? How can I get around this, or use the same auth method I'm using in rails admin?

@stephskardal
Copy link
Owner

Yikes, no idea here.

@monkbroc
Copy link
Collaborator

monkbroc commented Jun 9, 2015

I'll close this since it's been open for 2 years with no other comments. Reopen if it's still an issue.

@monkbroc monkbroc closed this as completed Jun 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants