Hello,

Not sure if this is even possible/practical but I'd like to serialize an
array to a string field like this and then be able to match against it.

User.find(:all, :conditions => ["interests in
(?)",current_user.interests)

Am I better of not denormalizing?  How would this be done with ordinary
A/R relationships because I'm not looking for an exact match, I'm
looking for any interests that the users have in common (more like a
ranking)

GP
-- 
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