someone's been playing too much
This commit is contained in:
parent
664915fcd2
commit
9ad5720090
|
@ -73,7 +73,7 @@ class Post < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
|
||||
# The key we use in reddit to ensure unique posts
|
||||
# The key we use in redis to ensure unique posts
|
||||
def unique_post_key
|
||||
"post-#{user_id}:#{raw_hash}"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue