Skip to content

Problem with virtual attributes not defined on instance.... #9

@cpfarher

Description

@cpfarher

If you define something like this:

class Program
    include ActiveModel::Model
    include ActiveModel::Serializers::Binary
    include WritePlc

    bool :enabled
    bool :bit1
    int16 :noria

    attr_accessor :slot_plc, :molino_nro
end

enabled, bit1, and noria are not defined as "virtual attributes".

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