Make any Ruby object quack like ActiveRecord

ActiveType is our take on "presenter models" (or "form models") in Rails. We want to have controllers (and forms) talk to models that are either not backed by a database table, or have additional functionality that should not be shared to the rest of the application.However, we do not want to lose ActiveRecord's amenities, like validations, callbacks, etc.
Make any Ruby object quack like ActiveRecord #ruby #rubydeveloper #rubyonrails #activerecord https://rubyonrails.ba/single/make-any-ruby-object-quack-like-activerecord

Nezir Zahirovic

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

related articles