mirror of
https://github.com/wahyd4/libr-2.git
synced 2026-08-09 05:15:53 +10:00
#32 Filter out the posts un processed.
This commit is contained in:
@@ -14,6 +14,8 @@ class Post < ActiveRecord::Base
|
||||
|
||||
# default_scope {where(:blocked => false)}
|
||||
|
||||
default_scope {where(:processed => true)}
|
||||
|
||||
def first_sharer
|
||||
share_instances.first.user_name
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user