alfredoreduarte / installthisapp-api

2 stars 0 forks source link

NoMethodError: undefined method `id' for nil:NilClass #19

Open alfredoreduarte opened 7 years ago

alfredoreduarte commented 7 years ago

https://sentry.io/installthisapp/api-production/issues/314797651/

NoMethodError: undefined method `id' for nil:NilClass
  modules/memory_match/frontend_controller.rb:18:in `entries_create'
    @entry = @application.entries.find_or_create_by(fb_user_id: @fb_user.id)
  action_controller/metal/basic_implicit_render.rb:4:in `send_action'
    super.tap { default_render unless performed? }
  abstract_controller/base.rb:188:in `process_action'
    send_action(method_name, *args)
  action_controller/metal/rendering.rb:30:in `process_action'
    super
  abstract_controller/callbacks.rb:20:in `block in process_action'
    super
...
(89 additional frame(s) were not displayed)

NoMethodError: undefined method `id' for nil:NilClass