Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'dev' of github.com:umamao/umamao into twitter-account-e…

…rror
  • Loading branch information...
commit ad789221755e7820b5130c13d3bd140489c72865 2 parents 044dbe1 + e1a5292
@andlima andlima authored
View
2  app/models/answer.rb
@@ -42,8 +42,6 @@ class Answer < Comment
versionable_keys :body
filterable_keys :body
- validate :disallow_spam
-
after_create :create_news_update, :new_answer_notification,
:increment_user_topic_answers_count
after_update :update_search_result
View
2  app/models/comment.rb
@@ -25,8 +25,6 @@ class Comment
validates_presence_of :user
- validate :disallow_spam
-
before_save :adjust_newlines
after_create :new_comment_notification,
:unless => :created_together_with_search_result
View
1  app/models/question.rb
@@ -136,7 +136,6 @@ class Question
validates_inclusion_of :language, :within => AVAILABLE_LANGUAGES
validates_true_for :language, :logic => lambda { |q| q.group.language == q.language },
:if => lambda { |q| !q.group.language.nil? }
- validate :disallow_spam
validate :check_useful
timestamps!
Please sign in to comment.
Something went wrong with that request. Please try again.