Forum: Ruby on Rails SQL Query for related entries based on tags

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
1e2dd87a31c5d3e07adc9efa375f4dc4?d=identicon&s=25 ryan (Guest)
on 2006-03-05 08:31
Can anyone help me out with a SQL query to pull related entries based on
tags?
1e2dd87a31c5d3e07adc9efa375f4dc4?d=identicon&s=25 ryan (Guest)
on 2006-03-05 08:31
ryan wrote:
> Can anyone help me out with a SQL query to pull related entries based on
> tags?

It doesn't have to be straight SQL, I just mean how to do this in rails
(or just plain SQL is fine, too).  Thanks!
0091f92762685860109bbcb02edfdf27?d=identicon&s=25 Alain Ravet (Guest)
on 2006-03-05 12:45
(Received via mailing list)
ryan wrote:
    > Can anyone help me out with a SQL query to pull related entries
based on
    > tags?

Look at page 15 and 16 in
    http://media.rubyonrails.org/presentations/pursuit...


Tags are well documented in the "Rails Recipes" book :
     http://www.pragmaticprogrammer.com/titles/fr_rr/


Alain
0091f92762685860109bbcb02edfdf27?d=identicon&s=25 Alain Ravet (Guest)
on 2006-03-05 13:00
(Received via mailing list)
> Tags are well documented in the "Rails Recipes" book :

.., and this recipe is available for free as a book extract:

     http://media.pragprog.com/titles/fr_rr/Tagging.pdf


Alain
This topic is locked and can not be replied to.