Conrad Taylor wrote:
> You can convert the 34 boolean columns to a single binary column.  Then
> you should be able to store, update, and retrieve the individual bits.
> You
> might be able to find the following screencast useful:
> 
> http://railscasts.com/episodes/189-embedded-association
> 
> Good luck,
> 
> -Conrad

Thanks for the link, this does give me a better way to store the data, 
and if i am not wrong then i can use the roles array and maybe a for 
loop to test of that role is true and then append to the string?

Please correct me if i am wrong.

Regards,

Q
-- 
Posted via http://www.ruby-forum.com/.
-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: 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/rubyonrails-talk?hl=en.


Reply via email to