On 21 sep, 21:32, "Bernerd Schaefer" <[EMAIL PROTECTED]> wrote:
> What's wrong with:
>
> def nickname=(nicknames)
>   # normalize the input
>   nicknames = nicknames.split(/,\s*/).join(",")
>   attribute_set(:nickname, nicknames)
> end
>
> def nickname
>   attribute_get(:nickname).split(",")
> end
The problem is if there is that make it with many fields.
--~--~---------~--~----~------------~-------~--~----~
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