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
If I run
Mover.newfirst, I get the expected behavior, and@model.field_namesis correctly populated.Running
Mover.find(...)with an empty result set and thenMover.newcreates an empty hash, and@model.field_namesis 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