Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Model.new fields missing if done after a failed Model.find #28

@emptyflask

Description

@emptyflask

If I run Mover.new first, I get the expected behavior, and @model.field_names is correctly populated.

Running Mover.find(...) with an empty result set and then Mover.new creates an empty hash, and @model.field_names is empty.

Seems like Rfm is relying on the first connection to Filemaker to populate the layout, even if that connection doesn't return any layout data.

Tested with Ruby 2.2.0, Filemaker 13, rfm 3.0.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions