RE: Stories with many tags, tags with many stories, has_and_

Check out the acts_as_taggable mixin here: and

Yes check out acts_as_taggable you will like it. But one error I see
in your self.create method may be holding you back./ You initially
set the count to 0 then you try to increment it in the each iterator
by doing count += count. Well this just adds 0 + 0 and never
increases your count.



On Dec 22, 2005, at 7:00 PM, Tom F. wrote:

has_and_belongs_to_many howto?
and for the tags that already exists, just link them to the story.

Rails mailing list
[email protected]

-Ezra Z.
Yakima Herald-Republic Newspaper
[email protected]

Ah, yes. That should’ve been count += 1, heh… Thanks!

Thanks a lot, that seems pretty useful!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs