adds magic number
This commit is contained in:
@@ -93,6 +93,10 @@ class Proposal < ActiveRecord::Base
|
|||||||
terms.present? ? where("title ILIKE ? OR description ILIKE ? OR question ILIKE ?", "%#{terms}%", "%#{terms}%", "%#{terms}%") : none
|
terms.present? ? where("title ILIKE ? OR description ILIKE ? OR question ILIKE ?", "%#{terms}%", "%#{terms}%", "%#{terms}%") : none
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def self.votes_needed_for_success
|
||||||
|
53726
|
||||||
|
end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
def sanitize_description
|
def sanitize_description
|
||||||
|
|||||||
Reference in New Issue
Block a user