I would like to get some tips to create an efficient algorithm.
This is the scenario. I\'m using rails and sqlite.
There\'re articles with many custom properti