A platform for community discussion. Free, open, simple.
Revert "REFACTOR: remove unnecessary parentheses"
Neil Lalondee9ba4c74f7fc
diff --git a/app/models/post.rb b/app/models/post.rbindex 8020ddbb8f5..8e03538f527 100644--- a/app/models/post.rb+++ b/app/models/post.rb@@ -215,7 +215,8 @@ class Post < ActiveRecord::Baseenddef matches_recent_post?- $redis.get(unique_post_key).to_i != id+ post_id = $redis.get(unique_post_key)+ post_id != (nil) && post_id.to_i != (id)enddef raw_hash