Hi List,

I just upgraded ruote-dm to use dm 0.10.0 :

  
http://github.com/jmettraux/ruote-dm/commit/c55a3f3a221a6578d5c47d7cb65e5d510abe5e5f

Please note I have removed any check on resource.save (both
expressions and workitems). DataMapper save returns true if a CREATE
or an UPDATE was necessary and false if the record is unchanged (no
update needed). It raises an exception if anything wrong happens like
for example :

  DataObjects::ConnectionError: Got a packet bigger than
'max_allowed_packet' bytes

So I removed the custom Ruote::Dm::Error I had upon save returning false.


Best regards,

-- 
John Mettraux   -   http://jmettraux.wordpress.com

--~--~---------~--~----~------------~-------~--~----~
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to