RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

Compose nested entities with Datamappify

For those of you who don't already know, Datamappify is a library for separating domain logic from data persistence. It utilises existing ORMs so you don't lose the powerfulness of say, ActiveRecord.

Hot off the oven, we have just added nested entity composition to Datamappify! We think it's a really good way to DRY your code. We use Datamappify as a form mapper, so you may use it to compose and deal with your form data! Cool hey?

Please check out the code here: https://github.com/fredwu/datamappify

Comments

Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!