Forum: Ruby on Rails newb: convert contents of sql text field to an array or hash

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B62a8c8111c42589ed45fe67bb6c7b78?d=identicon&s=25 woodie63 (Guest)
on 2006-03-25 18:29
Hi I have a text field in my sql called: keywords
in it are various keywords (suprise!) 'keywords_1*keyword_2*keyword_3'
etc.
all keyword phrases take_this_format seperated by an asterisk*

In my rails app I would like to populate checkboxes with my keywords to
show that they are already chosen.

can someone please point me in the right direction?
cheers

Peter
This topic is locked and can not be replied to.