Skip to content

Commit

Permalink
Don't display results with three or more votes against them.
Browse files Browse the repository at this point in the history
  • Loading branch information
threedaymonk committed Jul 19, 2009
1 parent 05513a4 commit ddcc2f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/normalized_term.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
class NormalizedTerm < ActiveRecord::Base
has_many :terms
has_many :normalized_taggings
has_many :normalized_taggings,
:conditions => ["votes_against < 3"]
has_many :articles,
:through => :normalized_taggings

Expand Down

0 comments on commit ddcc2f8

Please sign in to comment.