notice-us-senpai / KouhaiDash

Deploying commit ff65335 | Updated branches are: master
https://kouhaidash.herokuapp.com/
2 stars 2 forks source link

Cannot login or logout #21

Closed leeyimin closed 8 years ago

leeyimin commented 8 years ago

Trying to logout: trouble Same problem occurs on the line with update_attribute when logging in. However, logging in and logging out is possible after commenting out these lines in user.rb

mount_uploader :image, ImageUploader
validates_processing_of :image
jia1 commented 8 years ago

mount_uploader :image, ImageUploader validates_processing_of :image

is tied to the carrierwave gem. Did you run "bundle install"? If it still fails after "bundle install", maybe "sudo gem install carrierwave" would be favourable... although I do not understand the difference

Difference between bundle install and gem install

jia1 commented 8 years ago

Production is deploying 02068cf from master branch at https://kouhaidash.herokuapp.com/

Will do my best to pull your changes in. The last time I did it, it crashed because your feature was not finished that time, wasn't it T_T

leeyimin commented 8 years ago

Turns out it was bcos picture was not renamed to image in User Model in my db. Sorry for the misunderstanding 😂

jia1 commented 8 years ago

I got the same error too...

but it wasn't because of the schema. I had to bundle install or something like that, because I did a db:migrate:reset before.