```ruby
@post.user = current_user
```