public
Description: This contains various plugins for Feather
Clone URL: git://github.com/eldiablo/feather-plugins.git
Search Repo:
Click here to lend your support to: feather-plugins and make a donation at www.pledgie.com !
ensure all tags are lowercase when created, so there is no ambiguity 
between case sensitive tags in the database, and the tags as requested on 
the tag pages
eldiablo (author)
Fri May 09 17:55:26 -0700 2008
commit  760cf59eeeb93fa52a590b700b94f0d1772e592b
tree    c1d4cd2e415156bb390cba1d2abef3a52c4aa463
parent  811b19d2e4da042f97893f9f5159c8b101006af6
...
11
12
13
14
 
15
16
17
...
11
12
13
 
14
15
16
17
0
@@ -11,7 +11,7 @@
0
     self.taggings.each {|t| t.destroy! }
0
     @tag_list.split(",").each do |t|
0
       unless t.empty?
0
- tag = Tag.find_or_create(:name => t.strip)
0
+ tag = Tag.find_or_create(:name => t.strip.downcase)
0
         Tagging.create(:article_id => self.id, :tag_id => tag.id)
0
       end
0
     end

Comments

    No one has commented yet.