It works now! Thanks!
But I still don't understand why it is ":user" instead of ":user_id".
The migration file is
```ruby
class AddUserToStories < ActiveRecord::Migration
  def change
    add_column :stories, :user_id, :integer
    add_index :stories, :user_id
  end
end
```
, the added column is :user_id. Does it mean the story model has a new data
called :user_id?


On Thu, Mar 13, 2014 at 12:24 AM, Ben Neely <notifications@github.com>wrote:

> In app/models/story.rb:
>
> > @@ -1,4 +1,5 @@
> >  class Story < ActiveRecord::Base
> > -  attr_accessible :body, :title
> > +  attr_accessible :body, :title, :user_id
>
> If you change this line to:
>
>   attr_accessible :body, :title, :user
>
> your seeds file will run without issue.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/tiyang/truestory/pull/1/files#r10553129>
> .
>