Decorators on top of your ORM layer.

Disposable is the missing API of ActiveRecord*. The mission:Maintain a manipulatable object graph that is a copy/map of a persistent structure.Prevent any write to the persistence layer until you say sync.Help designing your domain layer without being restricted to database layouts (renaming, compositions, hash fields).Provide additional behavior like change tracking, imperative callbacks and collection semantics.Disposable gives you "Twins": non-persistent domain objects. That is reflected in the name of the gem. They can read from and write values to a persistent object and abstract the persistence layer until data is synced to the model.
Decorators on top of your ORM layer. #ruby #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper

Nezir Zahirovic

Contractor Ruby On Rails (7+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles