Search code examples
ruby-on-railsrelated-content

Is there any plugins to show related links with respectie of content in Rails


Is there any plugins to find the realted links related to the content.

For example in our stack oveflow the question page shows the related questions.

I just want to make like this for my content how to do it.

Please suggest any plugins or gems available or please guide me how to do it if plugins not available.

Now am using Ruby(1.9.2) and Rails(2.3.9)

Thanks in Advance,

Ramanavel Selvaraju.


Solution

  • Depending on which kind of related content you want to show, you can find several plugins and code (ex: for simple content sites to select related articles). Here is one:

    How to use sunspot_rails gem to search for related articles

    For more complex data, only you will know what related data correlates to it, so no magic plugin or gem can solve your problem there. (Ex: showing related products based on user behavior)