I have User and Role models, and I want to remove the association, but
the role is still available to other users..
User.first(:id => params[:id].to_i).roles.delete_if {} ... ?
destroy! ? the documentation is not very clear with this, thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---