Hello. We have a decent size Rails application that has worked great for us using ActiveRecord with minimal custom SQL here and there. However, now we need to develop a feature very similar to Amazon''s "Customers Who Bought This Item Also Bought" feature. I''m looking for suggestions on best ways to handle this, via real-time using the actual table or a periodic process that updates a different table (e.g. nightly). Any suggestions on how to design one or more tables would be greatly appreciated! Thanks in advance. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
gene tani
2007-Nov-11 05:00 UTC
Re: SQL/Model for Customers Who Bought This Item Also Bought
On Nov 10, 12:39 pm, Ben Knight <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hello. > > We have a decent size Rails application that has worked great for us > using ActiveRecord with minimal custom SQL here and there. However, now > we need to develop a feature very similar to Amazon''s "Customers Who > Bought This Item Also Bought" feature. > > I''m looking for suggestions on best ways to handle this, via real-time > using the actual table or a periodic process that updates a different > table (e.g. nightly). > > Any suggestions on how to design one or more tables would be greatly > appreciated! > > Thanks in advance. > -- > Posted viahttp://www.ruby-forum.com/.i searched on "rails +collaborative +filtering" and didn''t find much, but there are lots of papers on methodology. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---