4 ms·
In Ruby on Rails one can add just one line of code to achieve the same result. class User < ActiveRecord::Base has_paper_trail end That solution is go
by dgregd 7y ago
In Ruby on Rails one can add just one line of code to achieve the same result.
class User < ActiveRecord::Base
has_paper_trail
end
That solution is good enough for most use cases and doesn't require highly skilled architects and developers to implement Event Sourcing properly.