Or alternatively:

```ruby
  def create
    @post.attributes = post_params
    @post.save
    respond_with(@post)
  end
```