You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it was because my db:migrate failed. i'm using postgres and there are a few places in db migration that specified default value for boolean field to be 1 or 0, which is not allowed. now that's fixed i could sign up.
this is in development env with postgresql.
i filled all the user information at sign-up page and got this error:
NoMethodError in UsersController#create
undefined method `facebook_uid?' for #User:0x10345a908
Rails.root: /Users/zlu/projects/sugar
Application Trace | Framework Trace | Full Trace
app/models/user.rb:46:in
_callback_before_5129' app/controllers/users_controller.rb:181:in
create'Request
Parameters:
{"authenticity_token"=>"P7hcCVbjdPlspxIaMGW0Di4eXjT0YSYu9S0if1YiQpo=",
"utf8"=>"\342\234\223",
"user"=>{"realname"=>"",
"location"=>"",
"confirm_password"=>"[FILTERED]",
"username"=>"zlu",
"password"=>"[FILTERED]",
"email"=>"zlu@me.com"}}
The text was updated successfully, but these errors were encountered: