Ruby on Rails
Monday, May 2, 2011
On Tue, May 3, 2011 at 8:09 AM, Bruce Wilson <bwilsonnow@yahoo.com> wrote:
I added this to my db/seeds.rb:
user = User.create :email => 'another@example.com', "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 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.
--
-------------------------------------------------------------
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 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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment