Nope?

On 20 Nov, 10:52, DAddYE <[EMAIL PROTECTED]> wrote:
> Hello to All,
>
> I've a question.
>
> DM, supportMassAssignments?
>
> See here:
>
> class Person
>   include DataMapper::Resource
>   property :id, Serial
>   property :name, String
>   has n, :friends
> end
>
> class Friend
>   include DataMapper::Resource
>   property :id, Serial
>   property :name, String
>   belongs_to :person
> end
>
> Is possible to do:
>
> Friend.create(:name => 'Mike', :friends => [{:name => 'Merola'},
> {:name => 'Frank'}])
--~--~---------~--~----~------------~-------~--~----~
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