On Jan 11, 2009, at 6:24 PM, MilesTogoe wrote:

>
> I saw the post asking us to send in what we see are important features
> to be in Rails 3.0.  Here are some of my thoughts:
> [snip]
> 4) make datamapper work with has_many - not sure what real advantage
> has_n is aside from a few less characters (maybe easy to just have
> either work)

Actually I like the has n syntax, particularly being able to document  
and validate
stuff like:

   has 0..n  # any number of associations
   has 1..n  # at least one association
   has 0..5  # up to 5 associations

After using DM for a few months, IMO it is syntactically more elegant  
than AR
and easier to use.  I'm hoping it is just a one line config file  
change to use
DM after the merge. :)

>
> [snip]
> looking forward to a great merge.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to