Displaying 8 results from an estimated 8 matches for "actsastaggablepluginhowto".
2006 May 04
1
Wiki Best Practice
Hello Rails Community ~
Today I added tagging support to one of my Rails apps following this Wiki page:
http://wiki.rubyonrails.org/rails/pages/ActsAsTaggablePluginHowto/versions/32
It outlined adding the necessary database tables with a schema
description in table format. I altered the article to use a
migrations approach with the code from the migration I created to add
the two tables, making the article now look like:
http://wiki.rubyonrails.org/rails/pages/A...
2006 Apr 03
2
It seems that acts_as_taggable can not be used under 1.1?
...he acts_as_taggable plugin has been installed via ruby script/plugin
install acts_as_taggable while not acts_astaggable gem installed via gem
install acts_as_taggable,it seems that the plugin can not work at all
under the rails 1.1 enviroment.According to
http://wiki.rubyonrails.org/rails/pages/ActsAsTaggablePluginHowto
the plugin should work under edge rails,but when the document
emerges,such characteriscs as :through,:polymorphic can only be got from
edge rails,and not are available under rails 1.1. The system will give
an error message of can not find any methods in the Tag class
Anybody have met such kinds...
2006 Apr 04
5
How to implement tag clouds using plugin?
...ions)
result = connection.select_all(sql)
count = result.inject({}) { |hsh, row| hsh[row[''name'']] =
row[''count''].to_i; hsh } unless options[:raw]
count || result
end
and the note in
http://wiki.rubyonrails.org/rails/pages/ActsAsTaggablePluginHowto gives
an corresponding implementation for acts_as_taggable plugin :
def tags_count(options)
sql = "SELECT tags.id AS id, tags.name AS name, COUNT(*) AS count
FROM tags, taggings, #{table_name} "
sql << "WHERE taggings.taggable_id = #{table_name}.#{primary_key} AND
ta...
2006 Apr 03
0
Re: acts_as_taggable can not be used under 1.1
...ble plugin has been installed via ruby script/plugin
> install acts_as_taggable while not acts_astaggable gem installed via gem
> install acts_as_taggable,it seems that the plugin can not work at all
> under the rails 1.1 enviroment.According to
> http://wiki.rubyonrails.org/rails/pages/ActsAsTaggablePluginHowto
> the plugin should work under edge rails,but when the document
> emerges,such characteriscs as :through,:polymorphic can only be got from
> edge rails,and not are available under rails 1.1. The system will give
> an error message of can not find any methods in the Tag class
> Anybod...
2006 Aug 29
1
acts_as_taggable question
Hi folks,
I was using the acts_as_taggable gem in my application. However recently I accidentally ran
gem install acts_as_taggable and now my application is giving errors complaining about missing tables resources_tags
Before running the gem install command, I had tables named as tags_resources. Why am I now getting these errors? Has there been a change in acts_as_taggable gem? Why would it
2006 Apr 03
5
Newbie question about acts_as_taggable
I installed the acts_as_taggable plugin that DHH wrote.
Now I have met problems on using it:
class Book < ActiveRecord::Base
acts_as_taggable
end
mybook = Book.new
mybook.tag_with(''red library book'')
But the system tell the wrong message:
undefined method `parse'' for Tag:Class
d:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:1123:in
2006 Mar 24
3
Using Tags in Applications
I''ve been contemplating the utilization of "tags" functionality for
categorizing records in my application. For example, a record can have
any tag associated with them: volunteer, donor, phone_caller, etc.
(Much like delicious)
Has anyone already laid out a good architecture for implementing this
on the DB, or other medium? I''m sure I can custom build something, but
2006 Jun 21
7
acts_as_taggable and paginate?
Hi there,
I''ve been trying to paginate over a list of members that all share a tag in
common using the acts_as_taggable plugin. The regular way of paginating over
a collection doesn''t seem to work with acts_as_taggable. Here''s what my
method looks like that takes in a tag name, finds all the members that share
the tag and then displays all the members. Nothing too fancy