beezwax/fmrest-ruby

Setting attributes through their string name doesn't mark the record as dirty

Opened this issue · 0 comments

pilaf commented
class MyLayout < FmRest::Spyke::Base
end

m = MyLayout.new("Random Attribute" => "value")

m.changed? # false

This prevents the record from being saved properly as fmrest depends on dirty attributes for persistence.

This needs either a code fix or a warning in the README.