search for: vanesam

Displaying 2 results from an estimated 2 matches for "vanesam".

Did you mean: vanesa
2006 Apr 01
5
Triple relationship
Hi list, I need to represent a relationship between three tables: Tags (id, name) Users (id, name, email, ... ) Documents (id, title, ... ) I created a forth table called Assignments(id, tag-id, user-id, document-id, date). I have couple of questions: Should I use belongs-to and has-many to capture this? If so, How can I do that? should I have the id as the primary key in Assignment table or
2006 Jul 20
2
search on fields
Hi, I wonder if it is possible to perform the "find_by_contents" on a subset of fields indexed in acts_as_ferret.If so, how? In my code I have: acts_as_ferret (:fields => [''title'', ''focus'', ''purpose'']) However, I like to have two search options one on all fields and one only on the title. Any help is most appreciated.