emmett-framework / emmett

The web framework for inventors
BSD 3-Clause "New" or "Revised" License
1.06k stars 71 forks source link

Update record not update rowattr #180

Closed josejachuf closed 7 years ago

josejachuf commented 7 years ago

@gi0baro In reference to this thread [1]. When a row is updated it is not reflected in the rowattr I imagine that behavior is inherited from pyDAL

[1] https://groups.google.com/forum/#!topic/weppy-talk/oZVE71hVXuw

josejachuf commented 7 years ago

In web2py has the same behavior

josejachuf commented 7 years ago

@gi0baro

rowmethod solve this? Yes, at least for me

gi0baro commented 7 years ago

@josejachuf yes rowattr is an attribute so it won't be updated if is dependant on other attributes of the row. You should use rowmethod for that.