search for: tagg

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

Did you mean: tag
2006 Jan 19
5
limits of has_and_belongs_to_many
...around the fact that the primary id''s are not called ''id'' within RoR instead. I''ve been successful in using a join table with two fields named ''recipe_id'' and ''tag_name'' to relate a table called Recipes with a table called Taggs, using this model: class Recipe < ActiveRecord::Base has_and_belongs_to_many :taggs, :join_table => "recipes_tagnames" , :association_foreign_key => "tag_name" end In this case both Recipes and Taggs have a field called ''id'' as their primary key,...
2006 Nov 11
0
acts_as_taggable plugin - paging through tagged model
Hi, I''m using the acts_as_taggable plugin & wanted to page through all a model''s records taggged with a particular tags. i.e. page through all Model records that have been tagged with "artist" I could not work out how to do this with the plugin, so I made the changes outlined below. Did I need to do t...