पर एथलॉगिक फेंकने की त्रुटियां हां, मैंने this पढ़ा है।हेरोकू
ActionView::TemplateError (undefined method `password' for #<User:0x2b0ddb58cdc0>) on line #11 of app/views/users/new.html.erb:
8: </p>
9: <p>
10: <%= f.label :password, "Password:" %><br />
11: <%= f.password_field :password %>
12: </p>
13: <p>
14: <%= f.label :password_confirmation, "Password again:" %><br />
जब मैं कोशिश:
$ heroku rake db:reset RAILS_ENV=production
मैं:
yeqynzfiku already exists
(in /disk1/home/slugs/109616_e6df6f2_8837/mnt)
Couldn't drop yeqynzfiku : #<ActiveRecord::StatementInvalid: PGError: ERROR: must be owner of database yeqynzfiku
: DROP DATABASE IF EXISTS "yeqynzfiku">
मैं नहीं जानता कि
यह वही है मैं अपने production.log में हो रही है इसका क्या मतलब है। मैंने
$ heroku rake db:reset
$ heroku rake db:migrate RAILS_ENV=production
$ heroku rake db:migrate
$ heroku rake gems:install (for what it's worth)
सब कुछ विकास और उत्पादन मोड दोनों में स्थानीय रूप से ठीक से काम करता है। मेरे ऐप में एक .gems फ़ाइल है, और जब मैंने पहली बार हेरोकू को धक्का दिया तो यह ऑथलोगिक और पेपरक्लिप को ठीक से स्थापित करना प्रतीत होता था।
स्टंप। धन्यवाद।
यह वही समस्या थी जब मुझे एक ही समस्या थी। चीयर्स –
"heroku restart" यह मेरे लिए तय किया गया है – Andrew
यहां समान है: यह काम करता है और आपने मेरा दिन –