RubyFlow The Ruby and Rails community linklog

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

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in