vbaxt

Joined

20 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in Introduction to Stimulus Reflex Discussion

JUST CRAZY !

Posted in API Authentication with an OAuth Provider Discussion

I don't know how mutch it will break the logic
but impossible for me to follow exactly the video .
Something is not working as Chris show.
i'm talking about the me.json.jbuilder

ii have the error ⚠️

undefined local variable or method `current_resource_owner' for #<#<Class:0x00007fe41cabc360>:0x00007fe41bda5f28>
Did you mean?  current_user

to solve this ...


json.id current_user.id
json.email current_user.email
json.name current_user.name
json.avatar_url gravatar_image_url(current_user.email, size: 40)    
json.id current_user.id
json.email current_user.email
json.name current_user.name
json.avatar_url gravatar_image_url(current_user.email, size: 40)

and it work ✅ but i think that the futur logic won't work
any advice to help ?

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2020 GoRails, LLC. All rights reserved.