add post
This commit is contained in:
@@ -4,3 +4,6 @@ geonizeli = User.find_or_create_by(username: 'geonizeli')
|
||||
|
||||
UserFollow.find_or_create_by(follower_id: xpto.id, followed_id: geonizeli.id)
|
||||
UserFollow.find_or_create_by(follower_id: geonizeli.id, followed_id: xpto.id)
|
||||
|
||||
first_post = Post.find_or_create_by(content: 'Hello World!', user_id: xpto.id)
|
||||
Post.find_or_create_by(content: 'Hello World!', user_id: xpto.id, quoted_post_id: first_post.id)
|
||||
Reference in New Issue
Block a user