Undefined method `seed'

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 = “[email protected]
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?


Pls try out this heroku:rake:db:seed

Opps my mistake try out this heroku rake db:seed

On 09/11/11 10:36 AM, “Rameshwar Vyevhare” [email protected]

command does not exist. Are you sure about this sintax?

On Tue, Nov 8, 2011 at 9:06 PM, Rameshwar Vyevhare

I did. This is the code that has problems, that I described in first
Running heroku rake db:seed is what caused the problem in the first

On Tue, Nov 8, 2011 at 9:08 PM, Rameshwar Vyevhare