RubyFlow The Ruby and Rails community linklog


The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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:

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