What do you think about adding method to_hash to Sequel#Model as alias
to method values. This can be useful, for example, when you want to
create copy or store to yam or do something other that can be done
with hash but can't be done with model and you don't known exactly
what kind of object you have.
# m - sequel::model or hash, we don't now exactly
m = m.to_hash
# now m is ruby hash

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

Reply via email to