Please sign in to comment.
akismet: save the user agent and submit it when checking for/submitti…
…ng spam. The User-Agent sent by the commenter is often a good piece of information to identify whether a comment is spam or not, so make sure not to blackhole it and instead store and submit it.
- Loading branch information...
Showing with 12 additions and 5 deletions.
|@@ -0,0 +1,9 @@|
|+class AddsFeedbackUseragent < ActiveRecord::Migration|
|+ def up|
|+ add_column :feedback, :user_agent, :string|
|+ def down|
|+ remove_column :feedback, :user_agent|