I added this to my db/seeds.rb:

user = User.create :email => '[email protected]', "password =>
'guessit'
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.

Reply via email to