search for: pic_id

Displaying 1 result from an estimated 1 matches for "pic_id".

Did you mean: apic_id
2010 Jan 15
1
Chaining queries in ActiveRecord
Hi all, Stuck at this problem for several days. Tried to use named_scope, scope_out, and plugin such as searchlogic, but no result. The problem is as follows: I have a pic table and tag table, and a join table called pic_tag (with only pic_id and tag_id) so that I can associate N pics to M tags. This is the tutorial way to set up a many- to-many association. I''m trying to implement a simple search function, so that I can search for a picture with several given tags. Now say I want to search for pics that are tagged with "...