Skip to content

has_many :options doesn't work #963

Closed
@klautcomputing

Description

I am in the process of updating to 0.10.0.rc2 and I have an Option model when I try to serialize it with:

has_many :options

I get the error:
no implicit conversion of Symbol into Integer.

If I rename the association via:

has_many :foos, foreign_key: 'this_record_id', class_name: 'Option'

it works fine.
BTW: I am upgrading from 0.9.3, hope that helps.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions