local-ch / lhs

⚛️ REST services accelerator: Rails gem providing an easy, active-record-like interface for http (hypermedia) json services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reload does not keep original record class

10xSebastian opened this issue · comments

record.reload!

Gives back an LHS::Item and not the Record instance any more.

See: https://github.com/local-ch/opm/pull/7/files#r134158846

Fixed in: #251