I added this to my db/seeds.rb:
user = User.create :email => 'another@example.com', "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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment