-
-
Save Meekohi/199d798b109a8a5212fe to your computer and use it in GitHub Desktop.
HABTM error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started GET "/admin" for 127.0.0.1 at 2014-11-17 23:12:27 -0500 | |
Processing by Upmin::ModelsController#dashboard as HTML | |
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1 | |
Rendered /Users/meekohi/.rvm/gems/ruby-2.1.5@scenethink/gems/upmin-admin-0.1.01/app/views/upmin/models/dashboard.html.haml within layouts/upmin/application (0.2ms) | |
Rendered /Users/meekohi/.rvm/gems/ruby-2.1.5@scenethink/gems/upmin-admin-0.1.01/app/views/layouts/upmin/_navbar.html.haml (15.4ms) | |
Completed 500 Internal Server Error in 141ms | |
NameError - uninitialized constant Artist::HabtmEvents: | |
activesupport (4.1.8) lib/active_support/dependencies.rb:519:in `load_missing_constant' | |
activesupport (4.1.8) lib/active_support/dependencies.rb:180:in `const_missing' | |
() :3:in `model_class' | |
upmin-admin (0.1.01) lib/upmin/model.rb:165:in `model_class_name' | |
upmin-admin (0.1.01) lib/upmin/model.rb:189:in `search_path' | |
upmin-admin (0.1.01) app/views/layouts/upmin/_navbar.html.haml:14:in `block in ___sers_meekohi__rvm_gems_ruby_______scenethink_gems_upmin_admin________app_views_layouts_upmin__navbar_html_haml__4043117484048516647_70258273122880' | |
upmin-admin (0.1.01) app/views/layouts/upmin/_navbar.html.haml:12:in `___sers_meekohi__rvm_gems_ruby_______scenethink_gems_upmin_admin________app_views_layouts_upmin__navbar_html_haml__4043117484048516647_70258273122880' | |
actionview (4.1.8) lib/action_view/template.rb:145:in `block in render' | |
activesupport (4.1.8) lib/active_support/notifications.rb:161:in `instrument' | |
actionview (4.1.8) lib/action_view/template.rb:339:in `instrument' | |
actionview (4.1.8) lib/action_view/template.rb:143:in `render' | |
actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial' | |
actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:279:in `block in render' | |
actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' | |
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `block in instrument' | |
activesupport (4.1.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `instrument' | |
actionview (4.1.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' | |
actionview (4.1.8) lib/action_view/renderer/partial_renderer.rb:278:in `render' | |
actionview (4.1.8) lib/action_view/renderer/renderer.rb:47:in `render_partial' | |
actionview (4.1.8) lib/action_view/helpers/rendering_helper.rb:35:in `render' | |
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' | |
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml' | |
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' | |
upmin-admin (0.1.01) app/views/layouts/upmin/application.html.haml:21:in `___sers_meekohi__rvm_gems_ruby_______scenethink_gems_upmin_admin________app_views_layouts_upmin_application_html_haml__4357341419787787678_70258287608800' | |
actionview (4.1.8) lib/action_view/template.rb:145:in `block in render' | |
activesupport (4.1.8) lib/active_support/notifications.rb:161:in `instrument' | |
actionview (4.1.8) lib/action_view/template.rb:339:in `instrument' | |
actionview (4.1.8) lib/action_view/template.rb:143:in `render' | |
actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:67:in `render_with_layout' | |
actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:53:in `render_template' | |
actionview (4.1.8) lib/action_view/renderer/template_renderer.rb:17:in `render' | |
actionview (4.1.8) lib/action_view/renderer/renderer.rb:42:in `render_template' | |
actionview (4.1.8) lib/action_view/renderer/renderer.rb:23:in `render' | |
actionview (4.1.8) lib/action_view/rendering.rb:99:in `_render_template' | |
actionpack (4.1.8) lib/action_controller/metal/streaming.rb:217:in `_render_template' | |
actionview (4.1.8) lib/action_view/rendering.rb:82:in `render_to_body' | |
actionpack (4.1.8) lib/action_controller/metal/rendering.rb:32:in `render_to_body' | |
actionpack (4.1.8) lib/action_controller/metal/renderers.rb:32:in `render_to_body' | |
actionpack (4.1.8) lib/abstract_controller/rendering.rb:25:in `render' | |
actionpack (4.1.8) lib/action_controller/metal/rendering.rb:16:in `render' | |
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' | |
activesupport (4.1.8) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' | |
() Users/meekohi/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' | |
activesupport (4.1.8) lib/active_support/core_ext/benchmark.rb:12:in `ms' | |
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:41:in `block in render' | |
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' | |
activerecord (4.1.8) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' | |
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:40:in `render' | |
actionpack (4.1.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render' | |
actionpack (4.1.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action' | |
actionpack (4.1.8) lib/abstract_controller/base.rb:189:in `process_action' | |
actionpack (4.1.8) lib/action_controller/metal/rendering.rb:10:in `process_action' | |
actionpack (4.1.8) lib/abstract_controller/callbacks.rb:20:in `block in process_action' | |
activesupport (4.1.8) lib/active_support/callbacks.rb:113:in `call' | |
activesupport (4.1.8) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' | |
activesupport (4.1.8) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' | |
activesupport (4.1.8) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' | |
activesupport (4.1.8) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' | |
activesupport (4.1.8) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' | |
activesupport (4.1.8) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' | |
activesupport (4.1.8) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' | |
activesupport (4.1.8) lib/active_support/callbacks.rb:229:in `block in halting' | |
activesupport (4.1.8) lib/active_support/callbacks.rb:166:in `block in halting' | |
activesupport (4.1.8) lib/active_support/callbacks.rb:166:in `block in halting' | |
activesupport (4.1.8) lib/active_support/callbacks.rb:166:in `block in halting' | |
activesupport (4.1.8) lib/active_support/callbacks.rb:166:in `block in halting' | |
activesupport (4.1.8) lib/active_support/callbacks.rb:86:in `run_callbacks' | |
actionpack (4.1.8) lib/abstract_controller/callbacks.rb:19:in `process_action' | |
actionpack (4.1.8) lib/action_controller/metal/rescue.rb:29:in `process_action' | |
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' | |
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `block in instrument' | |
activesupport (4.1.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
activesupport (4.1.8) lib/active_support/notifications.rb:159:in `instrument' | |
actionpack (4.1.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action' | |
actionpack (4.1.8) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' | |
activerecord (4.1.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action' | |
actionpack (4.1.8) lib/abstract_controller/base.rb:136:in `process' | |
actionview (4.1.8) lib/action_view/rendering.rb:30:in `process' | |
actionpack (4.1.8) lib/action_controller/metal.rb:196:in `dispatch' | |
actionpack (4.1.8) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' | |
actionpack (4.1.8) lib/action_controller/metal.rb:232:in `block in action' | |
actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:82:in `dispatch' | |
actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:50:in `call' | |
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:73:in `block in call' | |
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:in `call' | |
actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:678:in `call' | |
railties (4.1.8) lib/rails/engine.rb:514:in `call' | |
railties (4.1.8) lib/rails/railtie.rb:194:in `method_missing' | |
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:73:in `block in call' | |
actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:in `call' | |
actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:678:in `call' | |
warden (1.2.3) lib/warden/manager.rb:35:in `block in call' | |
warden (1.2.3) lib/warden/manager.rb:34:in `call' | |
rack (1.5.2) lib/rack/etag.rb:23:in `call' | |
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' | |
rack (1.5.2) lib/rack/head.rb:11:in `call' | |
actionpack (4.1.8) lib/action_dispatch/middleware/params_parser.rb:27:in `call' | |
actionpack (4.1.8) lib/action_dispatch/middleware/flash.rb:254:in `call' | |
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' | |
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' | |
actionpack (4.1.8) lib/action_dispatch/middleware/cookies.rb:560:in `call' | |
activerecord (4.1.8) lib/active_record/query_cache.rb:36:in `call' | |
activerecord (4.1.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' | |
activerecord (4.1.8) lib/active_record/migration.rb:380:in `call' | |
actionpack (4.1.8) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' | |
activesupport (4.1.8) lib/active_support/callbacks.rb:82:in `run_callbacks' | |
actionpack (4.1.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call' | |
actionpack (4.1.8) lib/action_dispatch/middleware/reloader.rb:73:in `call' | |
actionpack (4.1.8) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' | |
better_errors (2.0.0) lib/better_errors/middleware.rb:84:in `protected_app_call' | |
better_errors (2.0.0) lib/better_errors/middleware.rb:79:in `better_errors_call' | |
better_errors (2.0.0) lib/better_errors/middleware.rb:57:in `call' | |
actionpack (4.1.8) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' | |
actionpack (4.1.8) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' | |
railties (4.1.8) lib/rails/rack/logger.rb:38:in `call_app' | |
railties (4.1.8) lib/rails/rack/logger.rb:20:in `block in call' | |
activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `block in tagged' | |
activesupport (4.1.8) lib/active_support/tagged_logging.rb:26:in `tagged' | |
activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `tagged' | |
railties (4.1.8) lib/rails/rack/logger.rb:20:in `call' | |
quiet_assets (1.0.3) lib/quiet_assets.rb:23:in `call_with_quiet_assets' | |
actionpack (4.1.8) lib/action_dispatch/middleware/request_id.rb:21:in `call' | |
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' | |
rack (1.5.2) lib/rack/runtime.rb:17:in `call' | |
activesupport (4.1.8) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' | |
rack (1.5.2) lib/rack/lock.rb:17:in `call' | |
actionpack (4.1.8) lib/action_dispatch/middleware/static.rb:84:in `call' | |
rack (1.5.2) lib/rack/sendfile.rb:112:in `call' | |
railties (4.1.8) lib/rails/engine.rb:514:in `call' | |
railties (4.1.8) lib/rails/application.rb:144:in `call' | |
rack (1.5.2) lib/rack/content_length.rb:14:in `call' | |
thin (1.6.3) lib/thin/connection.rb:86:in `block in pre_process' | |
thin (1.6.3) lib/thin/connection.rb:84:in `pre_process' | |
thin (1.6.3) lib/thin/connection.rb:53:in `process' | |
thin (1.6.3) lib/thin/connection.rb:39:in `receive_data' | |
eventmachine (1.0.3) lib/eventmachine.rb:187:in `run' | |
thin (1.6.3) lib/thin/backends/base.rb:73:in `start' | |
thin (1.6.3) lib/thin/server.rb:162:in `start' | |
rack (1.5.2) lib/rack/handler/thin.rb:16:in `run' | |
rack (1.5.2) lib/rack/server.rb:264:in `start' | |
railties (4.1.8) lib/rails/commands/server.rb:69:in `start' | |
railties (4.1.8) lib/rails/commands/commands_tasks.rb:81:in `block in server' | |
railties (4.1.8) lib/rails/commands/commands_tasks.rb:76:in `server' | |
railties (4.1.8) lib/rails/commands/commands_tasks.rb:40:in `run_command!' | |
railties (4.1.8) lib/rails/commands.rb:17:in `<top (required)>' | |
() Users/meekohi/scenethink/bin/rails:8:in `<top (required)>' | |
spring (1.1.3) lib/spring/client/rails.rb:27:in `call' | |
spring (1.1.3) lib/spring/client/command.rb:7:in `call' | |
spring (1.1.3) lib/spring/client.rb:26:in `run' | |
spring (1.1.3) bin/spring:48:in `<top (required)>' | |
spring (1.1.3) lib/spring/binstub.rb:11:in `<top (required)>' | |
() Users/meekohi/scenethink/bin/spring:16:in `<top (required)>' | |
() rails:3:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment