I also wrote a blogpost at 
http://sick.snusnu.info/2009/04/08/dm-accepts_nested_attributes/

It's actually the same than my last post to this group, but maybe
(just maybe) someone reads it, and comments over there, but not
here ...

cheers
snusnu

On Apr 8, 8:18 pm, Martin Gamsjaeger <[email protected]> wrote:
> Hey everyone,
>
> I just pushedhttp://github.com/snusnu/dm-accepts_nested_attributes/tree/master
>
> It's not complete yet, but it's already reasonably specced (still lots
> of specs to add of course!)
> and also quite functional.
>
> Current status:
>
> * belongs_to: create/destroy/update(FAIL)
> * has(1): create/update/destroy
> * has(n): create/update(FAIL)/destroy
> * has(n, :through): create(FAIL)/update(FAIL)/destroy(FAIL)
>
> Also, since I need this rather soon for my current (merb) project, I
> wrote it for 0.9.11
> I definitely want it to be available for next branch (of course) but I
> cannot spend
> any time on it now, since from what I heard, next branch is not
> production ready yet.
>
> Anyways, I think it'd be really cool to have this in dm! (a plugin is
> perfeclty fine, needn't be core)
> The API is almost the same (one minor change for now - have a look at
> the README)
> like the one activerecord has, which should mean, that once rails3 comes out,
> multimodel forms are totally possible with datamapper as ORM.
>
> As for merb, I don't really know if merb has support for nested model
> assignment in
> its form_for and fields_for helpers. I have to say though, that I
> don't really care, since
> I don't use these helpers, but write the html that my designer
> colleague wants to see.
>
> Any help, ideas, discussions on irc/email, forks, patches, whatever
> ... are really appreciated!
>
> cheers
> snusnu
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to