Skip to content

Unknown error #9

Description

@ppervoy

Hello team,

It's a great idea to attach a file to contact or opportunity.

I followed your instruction, it's very clear and finished without errors.

Image

I ran in development invironment, and here is output from the console:

rollback transaction
  ↳ app/models/entities/contact.rb:150:in 'Contact#update_with_account_and_permissions'
Completed 500 Internal Server Error in 21ms (ActiveRecord: 0.8ms | Allocations: 18614)

ArgumentError (comparison of Integer with String failed):

app/models/entities/contact.rb:150:in 'Contact#update_with_account_and_permissions'
app/controllers/entities/contacts_controller.rb:80:in 'block in ContactsController#update'
app/controllers/entities/contacts_controller.rb:79:in 'ContactsController#update'

Please advise what should I check?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions