On Tue, May 3, 2011 at 8:09 AM, Bruce Wilson <[email protected]> wrote:

> I added this to my db/seeds.rb:
>
> user = User.create :email => '[email protected]', "password =>
> 'guessit'
>

I think the line above the culprit. change "password to :password.


> Category.create [{:name => 'Programming'},
>                {:name => 'Event'},
>                                {:name => 'Travel'},
>                                {:name => 'Music'},
>                                {:name => 'TV'}]
>
> $ rake db:seed
>
> returns:
>
> rake aborted!
> db/seeds.rb:9: unterminated string meets end of file
>                      syntax error, unexpected $end, expecting rASSOC
>
> Any help is much appreciated.
>
> Bruce
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>


-- 
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.com

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to