-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Heroku $rootScope.user get wrapper by 'user' #89
Comments
What was the response from the |
that's the response from the heroku, in localhost is fine. And i know the demo is host in heroku, and that seems fine. Let me console.log more out to track what's going on. Total no idea |
That looks like the javascript |
The server shouldn't be wrapping the data within a |
So the problem is clearly with the API. Are both heroku and your local app running the same code (same app code, same gem versions, etc.)? |
the issue i found is so funny right now, since i am using a custom sessions_controller and i see the
that's the fun start |
@lynndylanhurley Thanks for all the help, the problem is the mongoid.yml in production session turn on the include_root_in_json: true, LOL |
Ahh no problem! 😃 |
HI @lynndylanhurley
When i deploy the sample app the heroku, the $rootScope.user have a very interesting bugs. I don't know that just me or what. Since in the localhost, the $rootScope is fine, it will be like
But in heroku production env, it will be like
as u can see, the $rootScope.user get wrapper
The text was updated successfully, but these errors were encountered: