search for: find_or_create_by_x

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

Did you mean: find_or_create_by_
2006 Jun 25
1
Having Trouble Using ActsAsTaggable
I''ve installed the acts_as_taggable plugin and modifed it according to the tutorial form making it user specific (http://www.slashdotdash.net/blog/articles/2006/04/29/acts_as_taggable-per-user-tagging ). I keep getting errors when I try to tag things, however, and have traced the problem to the line of the tag_with function that calls the find_or_create_by_name function. So I fired
2005 Dec 23
6
Stories with many tags, tags with many stories, has_and_belongs_to_many howto?
Hi, I began experimenting with habtm relationships, and so I created a stories table, a tags table, and a stories_tags table referencing the former 2. When I create a "story", I want to add several tags to it. Then, the model should create those tags and link them to the respective stories, and for the tags that already exists, just link them to the story. I tried something like