I am trying to deploy a rails 3.1 app to Heroku and need to run
My seeds file has this code
User.seed do |s|
s.email = "firstname.lastname@example.org"
s.password = "bigsecret"
s.password_confirmation = "bigsecret"
Running rake db:seed locally works fine, but after deployment to
Heroku I try to run this seed file and get error:
undefined method `seed' for #<Class:0x00000006499ac0>
Any ideas why Heroku does not like my seed file?
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@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.