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: undefined method `join' for nil:NilClass #524

Open
lpirola opened this issue May 22, 2019 · 0 comments
Open

NoMethodError: undefined method `join' for nil:NilClass #524

lpirola opened this issue May 22, 2019 · 0 comments
Labels
[expedite] priorizar cards com essa label

Comments

@lpirola
Copy link
Contributor

lpirola commented May 22, 2019

https://sentry.io/organizations/nossas/issues/1037345155/?referrer=github_plugin

NoMethodError: undefined method `join' for nil:NilClass
  app/models/form_entry.rb:44:in `last_name'
    (complete.split(' ')[1..-1]).join(' ') if complete
  app/models/form_entry.rb:51:in `complete_name'
    "#{(first_name || '').strip} #{last_name || ''}".strip
  app/controllers/mobilizations/form_entries_controller.rb:38:in `create'
    (render json: @form_entry.errors, status: 400 and return) unless @form_entry.validate
...
(100 additional frame(s) were not displayed)

NoMethodError: undefined method `join' for nil:NilClass
@lpirola lpirola added the [expedite] priorizar cards com essa label label May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[expedite] priorizar cards com essa label
Projects
None yet
Development

No branches or pull requests

2 participants