:+1:

Sent from my iPhone

> On 03 May 2014, at 01:35, Artur Chruszcz <notifications@github.com> wrote:
> 
> In app/controllers/posts_controller.rb:
> 
> > @@ -36,6 +36,7 @@ def mark_archived
> >    end
> >  
> >    def create
> > +    post.update_attribute(:user, current_user)
> this will do two request to database, so maybe just put post.user = current_user
> 
> —
> Reply to this email directly or view it on GitHub.