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
On Tue, May 3, 2011 at 8:09 AM, Bruce W. [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.
rake aborted!
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.
–