CommandModel - when update_attributes isn't enough
A domain model which reifies concepts in methods like account.withdraw(...) is much richer than one that funnels everything through account.update_attributes(...). But how to integrate this better domain model with Rails validations and form helpers? CommandModel to the rescue!
Post a comment