{"action":"created","issue":{"url":"https://api.github.com/repos/instructure/canvas-lms/issues/533","labels_url":"https://api.github.com/repos/instructure/canvas-lms/issues/533/labels{/name}","comments_url":"https://api.github.com/repos/instructure/canvas-lms/issues/533/comments","events_url":"https://api.github.com/repos/instructure/canvas-lms/issues/533/events","html_url":"https://github.com/instructure/canvas-lms/issues/533","id":46936182,"number":533,"title":"NoMethodError (undefined method `unserialized_value'","user":{"login":"cvong","id":3287649,"avatar_url":"https://avatars.githubusercontent.com/u/3287649?v=3","gravatar_id":"","url":"https://api.github.com/users/cvong","html_url":"https://github.com/cvong","followers_url":"https://api.github.com/users/cvong/followers","following_url":"https://api.github.com/users/cvong/following{/other_user}","gists_url":"https://api.github.com/users/cvong/gists{/gist_id}","starred_url":"https://api.github.com/users/cvong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvong/subscriptions","organizations_url":"https://api.github.com/users/cvong/orgs","repos_url":"https://api.github.com/users/cvong/repos","events_url":"https://api.github.com/users/cvong/events{/privacy}","received_events_url":"https://api.github.com/users/cvong/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-10-27T17:44:52Z","updated_at":"2015-01-02T23:34:41Z","closed_at":"2015-01-02T23:34:41Z","body":"Hi Sir,\r\n\r\nI have upgraded Canvas to the latest version today and could not access our Canvas website after the upgrade. I found the following errors in the production log.\r\n\r\nNoMethodError (undefined method `unserialized_value' for {\"api_key\"=>\"d4PaFtoiM0VcJKH25GvhLRQI\"}:ActiveSupport::HashWithIndifferentAccess):\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.19/lib/active_record/attribute_methods/read.rb:72:in `__temp__'\r\n  /var/canvas/app/models/plugin_setting.rb:113:in `settings_for_plugin'\r\n  /var/canvas/lib/canvas/crocodoc.rb:3:in `config'\r\n  /var/canvas/app/controllers/application_controller.rb:1387:in `feature_enabled?'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/abstract_controller/helpers.rb:53:in `feature_enabled?'\r\n  /var/canvas/app/helpers/application_helper.rb:457:in `inst_env'\r\n  /var/canvas/app/views/layouts/_foot.html.erb:2:in `_app_views_layouts__foot_html_erb__3172357973088654191_175756200'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_view/template.rb:145:in `block in render'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:125:in `instrument'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_view/template.rb:143:in `render'\r\n  /var/canvas/config/initializers/i18n.rb:196:in `render_with_i18n_scope'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/rack-mini-profiler-0.9.1/lib/mini_profiler/profiling_methods.rb:79:in `block in profile_method'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_view/renderer/partial_renderer.rb:238:in `block in render'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:123:in `block in instrument'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/notifications/instrumenter.rb:20:in `instrument'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:123:in `instrument'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_view/renderer/partial_renderer.rb:237:in `render'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_view/renderer/renderer.rb:41:in `render_partial'\r\n/var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_view/renderer/renderer.rb:15:in `render'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_view/helpers/rendering_helper.rb:24:in `render'\r\n  /var/canvas/app/views/layouts/application.html.erb:221:in `_app_views_layouts_application_html_erb___4574313191572301015_170553860'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_view/template.rb:145:in `block in render'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:125:in `instrument'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_view/template.rb:143:in `render'\r\n  /var/canvas/config/initializers/i18n.rb:196:in `render_with_i18n_scope'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/rack-mini-profiler-0.9.1/lib/mini_profiler/profiling_methods.rb:79:in `block in profile_method'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_view/renderer/template_renderer.rb:59:in `render_with_layout'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_view/renderer/template_renderer.rb:45:in `render_template'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_view/renderer/template_renderer.rb:18:in `render'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_view/renderer/renderer.rb:36:in `render_template'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_view/renderer/renderer.rb:17:in `render'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/abstract_controller/rendering.rb:110:in `_render_template'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/streaming.rb:225:in `_render_template'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/abstract_controller/rendering.rb:103:in `render_to_body'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/renderers.rb:28:in `render_to_body'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/abstract_controller/rendering.rb:88:in `render'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/rendering.rb:16:in `render'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'\r\n  /usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/core_ext/benchmark.rb:5:in `ms'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/instrumentation.rb:40:in `block in render'\r\n/var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.19/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/instrumentation.rb:39:in `render'\r\n  /var/canvas/app/controllers/application_controller.rb:1578:in `render'\r\n  /var/canvas/app/controllers/pseudonym_sessions_controller.rb:136:in `maybe_render_mobile_login'\r\n  /var/canvas/app/controllers/pseudonym_sessions_controller.rb:120:in `new'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/implicit_render.rb:4:in `send_action'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/abstract_controller/base.rb:167:in `process_action'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/rendering.rb:10:in `process_action'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/abstract_controller/callbacks.rb:18:in `block in process_action'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:602:in `block in _run__2010568564913962911__process_action__3599223235884605976__callbacks'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_10580'\r\n  /var/canvas/app/controllers/application_controller.rb:197:in `set_locale'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_10580'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:436:in `_run__2010568564913962911__process_action__3599223235884605976__callbacks'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:405:in `__run_callback'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:81:in `run_callbacks'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/abstract_controller/callbacks.rb:17:in `process_action'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/rescue.rb:29:in `process_action'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:123:in `block in instrument'\r\n  /var/canvas/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/notifications/instrumenter.rb:20:in `instrument'"},"comment":{"url":"https://api.github.com/repos/instructure/canvas-lms/issues/comments/68573140","html_url":"https://github.com/instructure/canvas-lms/issues/533#issuecomment-68573140","issue_url":"https://api.github.com/repos/instructure/canvas-lms/issues/533","id":68573140,"user":{"login":"simonista","id":60822,"avatar_url":"https://avatars.githubusercontent.com/u/60822?v=3","gravatar_id":"","url":"https://api.github.com/users/simonista","html_url":"https://github.com/simonista","followers_url":"https://api.github.com/users/simonista/followers","following_url":"https://api.github.com/users/simonista/following{/other_user}","gists_url":"https://api.github.com/users/simonista/gists{/gist_id}","starred_url":"https://api.github.com/users/simonista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonista/subscriptions","organizations_url":"https://api.github.com/users/simonista/orgs","repos_url":"https://api.github.com/users/simonista/repos","events_url":"https://api.github.com/users/simonista/events{/privacy}","received_events_url":"https://api.github.com/users/simonista/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T23:34:41Z","updated_at":"2015-01-02T23:34:41Z","body":"I believe these issues should all be fixed in the latest stable branch.  Let us know if you're still running into trouble!"}}