search for: all_tags

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

2006 Jul 02
3
Multiple terms accross multipl fields and associated tables
I''m looking for a good way to search a few fields accross multiple asociated tables (i.e. find ''friends and family'' accross Photo.name, Photo.description, and Tags.name where Photo has_many tags). And, ideally there''s a competent query analyzer/parser. I''ve expirimented with constructing my own SQL using ... LIKE %term1% ... etc, but the
2006 Apr 13
0
Model with file uploads
..._on_create errors.add ''field_thumb'', ''Invalid thumb'' unless !self.field_thumb.read.empty? errors.add ''field_video'', ''Invalid video'' unless !self.field_video.read.empty? end def after_create self.tag_with self.all_tags # upload field_video and upload field_thumb end def after_update self.tag_with self.all_tags end def after_delete # delete video and thumb files end def tags # return formatted tags from tag_list end def thumb # return full thumb url end def video #...