There are a couple working custom types available in DM-Types that tackles this thought.
Flag ----- very similar to how unix does file permissions, you can have any number of 'flags' to assign to a certain property http://github.com/sam/dm-more/tree/master/dm-types/spec/integration/flag_spec.rb JSON ----- You can serialize an object (read: array of other objects) into JSON with the Json type http://github.com/sam/dm-more/tree/master/dm-types/spec/integration/json_spec.rb YAML ----- Same as JSON, only serialized out into YAML http://github.com/sam/dm-more/tree/master/dm-types/spec/integration/yaml_spec.rb CSV ---- again, you can serialize out an object or series of objects into CSV too http://github.com/sam/dm-more/tree/master/dm-types/spec/unit/csv_spec.rb === Adam French On Sun, Sep 21, 2008 at 1:35 PM, Kless <[EMAIL PROTECTED]> wrote: > > Does DM let multiple values into a same field? > > This would be very interesting. Imagine a field that can have multiple > values (as nickname or family_name). In that case the user would have > that separate them with a comma, and the validations would have made > to each value. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
