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

NoMethodError PostsController#new #186

Open
ShiningRay opened this issue Jul 20, 2015 · 0 comments
Open

NoMethodError PostsController#new #186

ShiningRay opened this issue Jul 20, 2015 · 0 comments
Labels
Milestone

Comments

@ShiningRay
Copy link
Owner

Error message
/groups/pool/topics/396644/posts/new
NoMethodError: undefined method id' for nil:NilClass Sample stack trace (hide Rails) …ses/20150718130745/app/controllers/ posts_controller.rb: 198:innew'
…k-4.2.3/lib/action_controller/metal/
implicit_render.rb: 4:in send_action' …/gems/actionpack-4.2.3/lib/abstract_controller/ base.rb: 198:inprocess_action'
…ionpack-4.2.3/lib/action_controller/metal/
rendering.rb: 10:in process_action' …/actionpack-4.2.3/lib/abstract_controller/ callbacks.rb: 20:inblock in process_action'
…ms/activesupport-4.2.3/lib/active_support/
callbacks.rb: 115:in call' …ms/activesupport-4.2.3/lib/active_support/ callbacks.rb: 115:incall'
…ms/activesupport-4.2.3/lib/active_support/
callbacks.rb: 553:in block (2 levels) in compile' …ms/activesupport-4.2.3/lib/active_support/ callbacks.rb: 503:incall'
…ms/activesupport-4.2.3/lib/active_support/
callbacks.rb: 503:in call' …ms/activesupport-4.2.3/lib/active_support/ callbacks.rb: 88:inrun_callbacks'
…/actionpack-4.2.3/lib/abstract_controller/
callbacks.rb: 19:in process_action' …actionpack-4.2.3/lib/action_controller/metal/ rescue.rb: 29:inprocess_action'
…k-4.2.3/lib/action_controller/metal/
instrumentation.rb: 32:in block in process_action' …ctivesupport-4.2.3/lib/active_support/ notifications.rb: 164:inblock in instrument'
…4.2.3/lib/active_support/notifications/
instrumenter.rb: 20:in instrument' …ctivesupport-4.2.3/lib/active_support/ notifications.rb: 164:ininstrument'
…k-4.2.3/lib/action_controller/metal/
instrumentation.rb: 30:in process_action' …ck-4.2.3/lib/action_controller/metal/ params_wrapper.rb: 250:inprocess_action'
…4.2.3/lib/active_record/railties/
controller_runtime.rb: 18:in process_action' …/gems/actionpack-4.2.3/lib/abstract_controller/ base.rb: 137:inprocess'
…2.0/gems/actionview-4.2.3/lib/action_view/
rendering.rb: 30:in process' …0/gems/actionpack-4.2.3/lib/action_controller/ metal.rb: 196:indispatch'
…k-4.2.3/lib/action_controller/metal/
rack_delegation.rb: 13:in dispatch' …0/gems/actionpack-4.2.3/lib/action_controller/ metal.rb: 237:inblock in action'
…ionpack-4.2.3/lib/action_dispatch/routing/
route_set.rb: 76:in call' …ionpack-4.2.3/lib/action_dispatch/routing/ route_set.rb: 76:indispatch'
…ionpack-4.2.3/lib/action_dispatch/routing/
route_set.rb: 45:in serve' …actionpack-4.2.3/lib/action_dispatch/journey/ router.rb: 43:inblock in serve'
…actionpack-4.2.3/lib/action_dispatch/journey/
router.rb: 30:in each' …actionpack-4.2.3/lib/action_dispatch/journey/ router.rb: 30:inserve'
…ionpack-4.2.3/lib/action_dispatch/routing/
route_set.rb: 821:in call' ….2.0/gems/rack-raw-upload-1.1.1/lib/rack/ raw_upload.rb: 18:incall'
…simple_captcha2-0.3.4/lib/simple_captcha/
middleware.rb: 26:in call' …red/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/ etag.rb: 24:incall'
…/ruby/2.2.0/gems/rack-1.6.4/lib/rack/
conditionalget.rb: 25:in call' …red/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/ head.rb: 13:incall'
…2.0/gems/remotipart-1.2.1/lib/remotipart/
middleware.rb: 27:in call' …-4.2.3/lib/action_dispatch/middleware/ params_parser.rb: 27:incall'
…tionpack-4.2.3/lib/action_dispatch/middleware/
flash.rb: 260:in call' …/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/ id.rb: 225:incontext'
…/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/
id.rb: 220:in call' …onpack-4.2.3/lib/action_dispatch/middleware/ cookies.rb: 560:incall'
…ms/activerecord-4.2.3/lib/active_record/
query_cache.rb: 36:in call' …record/connection_adapters/abstract/ connection_pool.rb: 653:incall'
…pack-4.2.3/lib/action_dispatch/middleware/
callbacks.rb: 29:in block in call' …ms/activesupport-4.2.3/lib/active_support/ callbacks.rb: 84:inrun_callbacks'
…pack-4.2.3/lib/action_dispatch/middleware/
callbacks.rb: 27:in call' …pack-4.2.3/lib/action_dispatch/middleware/ remote_ip.rb: 78:incall'
…2.3/lib/action_dispatch/middleware/
debug_exceptions.rb: 17:in call' ….2.3/lib/action_dispatch/middleware/ show_exceptions.rb: 30:incall'
…uby/2.2.0/gems/railties-4.2.3/lib/rails/rack/
logger.rb: 38:in call_app' …uby/2.2.0/gems/railties-4.2.3/lib/rails/rack/ logger.rb: 20:inblock in call'
…tivesupport-4.2.3/lib/active_support/
tagged_logging.rb: 68:in block in tagged' …tivesupport-4.2.3/lib/active_support/ tagged_logging.rb: 26:intagged'
…tivesupport-4.2.3/lib/active_support/
tagged_logging.rb: 68:in tagged' …uby/2.2.0/gems/railties-4.2.3/lib/rails/rack/ logger.rb: 20:incall'
…ms/request_store-1.1.0/lib/request_store/
middleware.rb: 8:in call' …ack-4.2.3/lib/action_dispatch/middleware/ request_id.rb: 21:incall'
…/ruby/2.2.0/gems/rack-1.6.4/lib/rack/
methodoverride.rb: 22:in call' …/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/ runtime.rb: 18:incall'
…ctive_support/cache/strategy/
local_cache_middleware.rb: 28:in call' …ionpack-4.2.3/lib/action_dispatch/middleware/ static.rb: 116:incall'
…bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/
sendfile.rb: 113:in call' …undle/ruby/2.2.0/gems/rack-cors-0.4.0/lib/rack/ cors.rb: 80:incall'
…dle/ruby/2.2.0/gems/railties-4.2.3/lib/rails/
engine.rb: 518:in call' …uby/2.2.0/gems/railties-4.2.3/lib/rails/ application.rb: 165:incall'
…le/ruby/2.2.0/gems/railties-4.2.3/lib/rails/
railtie.rb: 194:in public_send' …le/ruby/2.2.0/gems/railties-4.2.3/lib/rails/ railtie.rb: 194:inmethod_missing'
…/ruby/2.2.0/gems/puma-2.11.3/lib/puma/
configuration.rb: 51:in call' …/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/ server.rb: 507:inhandle_request'
…/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/
server.rb: 375:in process_client' …/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/ server.rb: 262:inblock in run'
…le/ruby/2.2.0/gems/puma-2.11.3/lib/puma/
thread_pool.rb: 104:in call' …le/ruby/2.2.0/gems/puma-2.11.3/lib/puma/ thread_pool.rb: 104:inblock in spawn_thread'

@ShiningRay ShiningRay added the bug label Jul 20, 2015
@ShiningRay ShiningRay modified the milestone: T5 Jul 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant