* Removed memcaching for TagImplication (too many latent race conditions)

* Added Post.exact_tag_match to skip normalization/metatag parsing
* Added DelayedJob support for tag alias/implication processing
This commit is contained in:
albert
2011-08-04 19:54:13 -04:00
parent 09d7bba90a
commit e106f70b6d
18 changed files with 123 additions and 162 deletions

View File

@@ -1,4 +1,10 @@
Factory.define(:tag_alias) do |f|
f.antecedent_name "aaa"
f.consequent_name "bbb"
FactoryGirl.define do
factory :tag_alias do
antecedent_name "aaa"
consequent_name "bbb"
after_create do |tag_alias|
tag_alias.process!
end
end
end

View File

@@ -1,4 +1,10 @@
Factory.define(:tag_implication) do |f|
f.antecedent_name "aaa"
f.consequent_name "bbb"
FactoryGirl.define do
factory :tag_implication do
antecedent_name "aaa"
consequent_name "bbb"
after_create do |tag_implication|
tag_implication.process!
end
end
end